thaterikperson/elm-strftime/1.0.1

NOTE: this package is not compatible with Elm 0.19.1

Strftime

An (incomplete) implementation of the strftime format based on rules from http://strftime.org.

format : String -> Date -> String

Format a date into a string of your choice. Follow the rules at http://strftime.org.

Examples

format "%d %B %y" (Date.fromTime 1499000000000) == "02 July 17"