A default record that can be used. Defaults each option to Nothing.
import Cldr.Format.Options exposing (defaultDateTimeOptions)
options =
{ defaultDateTimeOptions | hour = Just Numeric }
The options that are relevant to formatting a Date value.
These match a subset of the options that can be used in the
Intl.DateTimeFormat JS API.
A default record that can be used. Defaults each option to Nothing.
import Cldr.Format.Options exposing (defaultDateOptions)
options =
{ defaultDateOptionis | year = Just Numeric }
A value for text-based options, such as weekday name and am/pm period.
A value for number-based options, such as year or hour.
A value for options that can use text or numbers, such as month.
A value to choose between 12 and 24 hour based formatting.
A value to choose the number of fractional digits to display.
Time Zone names can only be "short" or "long".
The options that are relevant to formatting a DateTime value.
These match the options that can be used in the
Intl.DateTimeFormatJS API.