old-locale-1.0.0.6: locale library

Copyright(c) The University of Glasgow 2001
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilitystable
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

System.Locale

Description

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.

Synopsis

Documentation

data TimeLocale Source

Constructors

TimeLocale 

Fields

wDays :: [(String, String)]

full and abbreviated week days

months :: [(String, String)]

full and abbreviated months

intervals :: [(String, String)]
 
amPm :: (String, String)

AM/PM symbols

dateTimeFmt :: String

formatting strings

dateFmt :: String

formatting strings

timeFmt :: String

formatting strings

time12Fmt :: String

formatting strings

iso8601DateFormat :: Maybe String -> String Source

Normally, ISO-8601 just defines YYYY-MM-DD but we can add a time spec.