CoderDennis/elm-time-format/1.0.0

Time.Format.Config

Date configuration.

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

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

type alias Config =
{ i18n :
{ dayShort : Weekday -> String
, dayName : Weekday -> String
, monthShort : Month -> String
, monthName : Month -> String
, dayOfMonthWithSuffix : Bool -> Int -> String
, twelveHourPeriod : TwelveHourPeriod -> String
}
, format :
{ date : String
, longDate : String
, time : String
, longTime : String
, dateTime : String
, firstDayOfWeek : Weekday
}
}

Configuration for formatting dates.

Copyright (c) 2016-2018 Robin Luiten