penny-lib-0.2.0.0: Extensible double-entry accounting system - library

Safe HaskellSafe-Infered

Penny.Copper.DateTime

Synopsis

Documentation

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.