That's why it's important to include alternative date formatting options for other languages!
This module exposes Language
, along with a few implementations.
(If you want to see french
, german
, or greek
, please add them in! I'm happy to make your language a part of the package!)
{ toMonthName : Time.Month -> String
, toMonthAbbreviation : Time.Month -> String
, toWeekdayName : Time.Weekday -> String
, toWeekdayAbbreviation : Time.Weekday -> String
, toAmPm : Basics.Int -> String
, toOrdinalSuffix : Basics.Int -> String
}
A record with options for your language.
english : Language
The english language! (used by default)
spanish : Language
The spanish language!
dutch : Language
The dutch language!
swedish : Language
The Swedish language!
portuguese : Language
The Portuguese language!