-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello,
I had a quick look at datify and datify-core, and I wonder if I have not found an issue that, to be fixed, would unfortunately require a significant rework of both packages…
In French, when writing a date in any litteral format, the first day of a month is always written in ordinal form, that is 1#super[er]. Just like 1#super[st] in English, except this ordinal form is not an option. And this is only the case for the first day of a month: all other days are written in regular (cardinal) form, with just numbers.
Since this is not an option, current datify is unfortunately not usable in French, as it produces things such as custom-date-format(datetime(year: 2025, month: 1, day: 1), lang: "fr") => "1 janvier 2025" which will be detected as a mistake by any fluent reader.
I am not sure of how that could be fixed. We would need some kind of possible localization of day numbers, and a partial localization too, since it would be tedious to specify all 31 possible numbers…