thaterikperson/elm-strftime/2.0.0

NOTE: the latest version is 2.0.2

Strftime

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

format : String -> Zone -> Posix -> String

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

Examples

Strftime.format "%d %B %y" Time.utc (Time.millisToPosix 1499000000000) == "02 July 17"