text-time-0.3.2: Library for Time parsing from Text into UTCTime
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Text.Time

Description

Parser for ISO date from ByteString

Synopsis

Documentation

parseISODateTime :: Text -> UTCTime Source #

Parse ISO date. If date can't be parsed then this function will return default value instead of error

formatISODateTime :: UTCTime -> Text Source #

Format ISO date.