Safe Haskell | Safe-Infered |
---|
- newtype DefaultTimeZone = DefaultTimeZone {}
- dateTime :: DefaultTimeZone -> Parser DateTime
- utcDefault :: DefaultTimeZone
- render :: DefaultTimeZone -> DateTime -> Text
Documentation
newtype DefaultTimeZone Source
render :: DefaultTimeZone -> DateTime -> TextSource
Render a DateTime. If the DateTime is in the given DefaultTimeZone, and the DateTime is midnight, then the time and time zone will not be printed. Otherwise, the time and time zone will both be printed. The test for time zone equality depends only upon the time zone's offset from UTC.