Module

React.Basic.DOM.Textf.DateTimeFormat

Package
purescript-react-basic-textf
Repository
j-keck/purescript-react-basic-textf

#HasDate Source

class HasDate a  where

Members

Instances

#HasTime Source

class HasTime a  where

Members

Instances

#yyyy Source

yyyy :: forall a. HasDate a => a -> String

Jear full - like 2020

#m Source

m :: forall a. HasDate a => a -> String

Month with digits

#mm Source

mm :: forall a. HasDate a => a -> String

Month with two digits

#mmm Source

mmm :: forall a. HasDate a => a -> String

Month short text - like Jan, Feb, ...

#mmmm Source

mmmm :: forall a. HasDate a => a -> String

Month full text - like January, Februrary, ...

#d Source

d :: forall a. HasDate a => a -> String

Day of month - with digits

#dd Source

dd :: forall a. HasDate a => a -> String

Day of month - two digits

#ddd Source

ddd :: forall a. HasDate a => a -> String

Day of month short text - like Mon, Tue ...

#dddd Source

dddd :: forall a. HasDate a => a -> String

Day of month full text - like Monday, Tuesday, ...

#hh Source

hh :: forall a. HasTime a => a -> String

Hours with two digits - in 24h format

#mi Source

mi :: forall a. HasTime a => a -> String

Minutes with two digits

#ss Source

ss :: forall a. HasTime a => a -> String

Seconds with two digits

#s Source

s :: forall a. String -> a -> String

Separator