Date Format, turning dates into strings.
The format code originally came from and was modified and extended from. https://github.com/mgold/elm-date-format/blob/1.0.4/src/Date/Format.elm
format : TimeUtils.Config.Config -> String -> Time.Posix -> String
Use a format string to format a date. This gets time zone offset from provided date.
formatUtc : TimeUtils.Config.Config -> String -> Time.Posix -> String
Convert date to utc then format it with offset set to 0 if rendered.
formatOffset : TimeUtils.Config.Config -> Basics.Int -> String -> Time.Posix -> String
This adjusts date for offset, and renders with the offset
isoString : Time.Posix -> String
Return date and time as string in local zone.
isoStringNoOffset : Time.Posix -> String
Return date and time as string in local zone, without
a timezone offset as output by Format.isoString
.
Introduced to deal with dates assuming local time zone.
utcIsoString : Time.Posix -> String
Return date and time as string in ISO form with Z for UTC offset.
isoDateString : Time.Posix -> String
Return date as string.
Low level routine required by areas like checkDateResult to avoid recursive loops in Format.format.
utcIsoDateString : Time.Posix -> String
Utc variant of isoDateString.
Low level routine required by areas like checkDateResult to avoid recursive loops in Format.format.
isoFormat : String
ISO date time, 24hr.
isoMsecFormat : String
ISO Date time with milliseconds, 24hr.
isoOffsetFormat : String
ISO Date time with timezone, 24hr.
isoMsecOffsetFormat : String
ISO Date time with milliseconds and timezone, 24hr.
isoDateFormat : String
ISO Date.
isoTimeFormat : String
ISO Time 24hr.