Maintainer | Janne Hellsten <jjhellst@gmail.com> |
---|---|
Safe Haskell | None |
Adapted from Leon P Smith's code for SQLite.
See http://sqlite.org/lang_datefunc.html for date formats used in SQLite.
- parseUTCTime :: Text -> Either String UTCTime
- parseDay :: Text -> Either String Day
- utcTimeToBuilder :: UTCTime -> Builder
- dayToBuilder :: Day -> Builder
- timeOfDayToBuilder :: TimeOfDay -> Builder
- timeZoneToBuilder :: TimeZone -> Builder
Documentation
utcTimeToBuilder :: UTCTime -> BuilderSource
Output YYYY-MM-DD HH:MM:SS with an optional .SSS fraction part. Explicit timezone attribute is not appended as per SQLite3's datetime conventions.
dayToBuilder :: Day -> BuilderSource