thaterikperson/elm-strftime - version: 2.0.2

for more information visit the package's GitHub page

Package contains the following modules:

Strftime

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

Usage

import Strftime exposing (format)


format "%d %b %y" (Date.fromTime 1499000000000) == "02 Jul 17"

format "%B %d %Y, %-I:%M" (Date.fromTime 1490000000000) == "March 20 2017, 4:53"