Database.HDBC.Locale

HDBC-2.4.0.2: Haskell Database Connectivity

Safe Haskell | Safe
Language | Haskell98

Database.HDBC.Locale

Synopsis

- defaultTimeLocale :: TimeLocale
- iso8601DateFormat :: Maybe String -> String

# Documentation

defaultTimeLocale :: TimeLocale #

Locale 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 single-letter military time-zones and +HHMM format.

iso8601DateFormat :: Maybe String -> String #

As the semantic of System.Locale.iso8601DateFormat has changed with old-locale-1.0.0.2 in a non-compatible way, we now define our own (compatible) version of it.