Instances3Eq, Ord, Show
Eq TimeLocaleDefined in time-1.12.2 · Data.Time.Format.LocaleOrd TimeLocaleDefined in time-1.12.2 · Data.Time.Format.LocaleShow TimeLocaleDefined in time-1.12.2 · Data.Time.Format.Locale
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Moduletime-locale-compat-0.1.1.5Haskell2010
This module provides compatibility module name for TimeLocale of old-locale or time-1.5.
Eq TimeLocaleDefined in time-1.12.2 · Data.Time.Format.LocaleOrd TimeLocaleDefined in time-1.12.2 · Data.Time.Format.LocaleShow TimeLocaleDefined in time-1.12.2 · Data.Time.Format.LocaleLocale representing American usage.
knownTimeZones contains only the ten time-zones mentioned in RFC 822 sec. 5: "UT", "GMT", "EST", "EDT", "CST", "CDT", "MST", "MDT", "PST", "PDT". Note that the parsing functions will regardless parse "UTC", single-letter military time-zones, and +HHMM format.
Deprecated. use Data.Time.Format.ISO8601 functions instead
Construct format string according to ISO-8601.
The Maybe String argument allows to supply an optional time specification. E.g.:
iso8601DateFormat Nothing == "%Y-%m-%d" -- i.e. YYYY-MM-DD
iso8601DateFormat (Just "%H:%M:%S") == "%Y-%m-%dT%H:%M:%S" -- i.e. YYYY-MM-DDTHH:MM:SS
Format string according to RFC822.