Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains Formatable instances for time/date values,
which use Data.Time.Format notation for formats (like %H:%M
).
Default date/time format is RFC 822.
This module is not re-exported by Data.Text.Format.Heavy by default, because it defines only one of possible time formatting strings syntaxes. One may like other syntax for some reason; if we re-exported this module by default, it would be impossible to hide these instances to implement other.
- genericTimeFormat :: FormatTime t => VarFormat -> t -> Either String Builder
Documentation
genericTimeFormat :: FormatTime t => VarFormat -> t -> Either String Builder Source #
Generic time formatter, using Data.Time.Format