Open Neptunium1129 opened 11 months ago
example : lang : ko https://raw.githack.com/mymth/vanillajs-datepicker/v1.3.4/demo/index.html
Makes sense. From that datepicker, zh-TW
, zh-CN
, ja
, ko
and ar
have the year first. Would be good to find a full list somewhere.
Implementation: Add a monthFirst
property to InnerLocale
. Add code
property to DateFnsLocale
object and use that to infer monthFirst
in localeFromDateFnsLocale()
Makes sense. From that datepicker,
zh-TW
,zh-CN
,ja
,ko
andar
have the year first. Would be good to find a full list somewhere.Implementation: Add a
monthFirst
property toInnerLocale
. Addcode
property toDateFnsLocale
object and use that to infermonthFirst
inlocaleFromDateFnsLocale()
Can I see an example?
I need this too.
need an option to change the location format title
now : mm - yyyy kor : yyyy - mm (2023 - 11)
In Korea, when reading the calendar, they often start with the year. For example, instead of saying "April 5th, 2023," they might say "2023 April 5th." This format prioritizes the year before the month and day.