Please check if the PR fulfills these requirements
[ ] The PR is against the development branch - It does not seem to exist anymore
[ ] Tests for the changes have been added (for bug fixes / features) - There does not seem to be tests for locales
[ ] Docs have been added / updated (for bug fixes / features) - There does not seem to be a documentation folder in this repository
[X] Does NOT modify files under the "dist" folder.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...). If this is a fix, please tag a bug.
Croatian (hr) locale
Serbian Cyrillic (sr) locale
Serbian Latin (sr-Latn) locale
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.
Please check if the PR fulfills these requirements
development
branch - It does not seem to exist anymoreWhat kind of change does this PR introduce? (Bug fix, feature, docs update, ...). If this is a fix, please tag a bug.
hr
) localesr
) localesr-Latn
) localeCyrillic is used as the default alphabet for Serbian. This matches official use and the default for "sr" when using
Intl
(as well asCultureInfo
in C#). Notably it does NOT match moment.js and day.js which use Latin as the default (they havesr
for Latin andsr-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.