rluiten/elm-date-extra/5.0.0

NOTE: this package is not compatible with Elm 0.19.1

Date.Extra.Config

Date configuration.

For i18n for day and month names. Parameter to Format.format* functions.

There is scope to put in some default format strings here.

type alias Config =
{ i18n :
{ dayShort : Day -> String
, dayName : Day -> String
, monthShort : Month -> String
, monthName : Month -> String
}
, format :
{ date : String
, longDate : String
, time : String
, longTime : String
, dateTime : String
, firstDayOfWeek : Day
}
}

Configuration for formatting dates.

Copyright (c) 2016 Robin Luiten