Portability | portable |
---|---|
Stability | stable |
Maintainer | libraries@haskell.org |
Safe Haskell | Safe |
This module provides the ability to adapt to local conventions. At present, it supports only time and date information as used by System.Time.calendarTimeToString from the System.Time module in the old-time package.
- data TimeLocale = TimeLocale {}
- defaultTimeLocale :: TimeLocale
- iso8601DateFormat :: Maybe String -> String
- rfc822DateFormat :: String
Documentation
data TimeLocale
TimeLocale | |
|
iso8601DateFormat :: Maybe String -> String
Normally, ISO-8601 just defines YYYY-MM-DD but we can add a time spec.