Utilities for formatting Date
s as Text
.
Usage example
let DF = https://raw.githubusercontent.com/kukimik/dhall-date-format/v0.1.0/src/package.dhall
let F = DF.Formats
in
[DF.format F.`MM.DD.YYYY` 1991-09-17
,DF.format F.`the Dth of MMMM, YYYY` 1990-04-01
,DF.format (DF.mask "D@MMMM[YY]") 1970-01-01
]
evaluates to
[ "09.17.1991", "the 1st of April, 1990", "1@January[70]" ]