-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: wrong ordinal for french locale #2010
Conversation
For more context: this is basically a revert of the regression introduced by this PR #1932 in the v1.11.4 |
Codecov Report
@@ Coverage Diff @@
## dev #2010 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 181 181
Lines 2074 2074
Branches 544 544
=========================================
Hits 2074 2074
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Thanks, let's get it to revert to the original one |
🎉 This PR is included in version 1.11.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [1.11.5](iamkun/dayjs@v1.11.4...v1.11.5) (2022-08-12) ### Bug Fixes * ordinal for nl not working ([iamkun#2011](iamkun#2011)) ([c93c85e](iamkun@c93c85e)) * wrong ordinal for french locale ([iamkun#2010](iamkun#2010)) ([dd192a7](iamkun@dd192a7))
## [1.11.5](iamkun/dayjs@v1.11.4...v1.11.5) (2022-08-12) ### Bug Fixes * ordinal for nl not working ([iamkun#2011](iamkun#2011)) ([c93c85e](iamkun@c93c85e)) * wrong ordinal for french locale ([iamkun#2010](iamkun#2010)) ([dd192a7](iamkun@dd192a7))
In french, when writing dates, there is no ordinal for numbers over 1.
In other contexts, this could be correct, but not for dates.
See for instance on this French website of the government : https://www.service-public.fr/particuliers/actualites