Eonasdan / tempus-dominus

A powerful Date/time picker widget.
https://getdatepicker.com
MIT License
7.16k stars 4.41k forks source link

Added Croatian and Serbian locales #2883

Closed m-gallesio closed 6 months ago

m-gallesio commented 7 months ago

Cyrillic is used as the default alphabet for Serbian. This matches official use and the default for "sr" when using Intl (as well as CultureInfo in C#). Notably it does NOT match moment.js and day.js which use Latin as the default (they have sr for Latin and sr-cyrl for Cyrillic).

Please note that I do not speak these languages (this addition was spurred by one of our customer's needs): I have carefully built these via a combination of automated translators and manual verification on online dictionaries for conjugation/declination.

See issue https://github.com/Eonasdan/tempus-dominus/issues/2868 and discussion https://github.com/Eonasdan/tempus-dominus/discussions/2869 for my initial request.

Eonasdan commented 6 months ago

thanks