mgold/elm-date-format/1.6.0

NOTE: this package is not compatible with Elm 0.19.1

Date.Format

Format strings for dates.

format : String -> Date -> String

Use a format string to format a date. See the README for a list of accepted formatters.

localFormat : Local -> String -> Date -> String

Use a localization record and a format string to format a date. See the README for a list of accepted formatters.

formatISO8601 : Date -> String

Formats a UTC date acording to ISO-8601. This is commonly used to send dates to a server. For example: 2016-01-06T09:22:00Z.