-
-
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
CustomParseFormat doesn't parse ordinals correctly when AdvancedFormat is enabled #522
Comments
It's not a bug related to |
I was just thinking that because |
This will be a feature request. I think it's good to have. |
Thank you 😄 |
## [1.8.10](v1.8.9...v1.8.10) (2019-03-10) ### Bug Fixes * **locale:** Add nepali (ne) locale ([#524](#524)) ([bdbec01](bdbec01)) * Add WeekYear plugin ([a892608](a892608)) * API .locale() with no argument should return current locale name string ([8d63d88](8d63d88)) * CustomParseFormat correct parse HH:mm:ss with only one digit like 0:12:10 ([600d547](600d547)) * CustomParseFormat plugin parse Do format string ([bf27fda](bf27fda)), closes [#522](#522) * Expand setters like .year(2000) .hour(12) ([ac532a0](ac532a0)) * Move toObject, toArray API to separate plugin from core ([40a3431](40a3431))
🎉 This issue has been resolved in version 1.8.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [1.8.10](iamkun/dayjs@v1.8.9...v1.8.10) (2019-03-10) ### Bug Fixes * **locale:** Add nepali (ne) locale ([#524](iamkun/dayjs#524)) ([bdbec01](iamkun/dayjs@bdbec01)) * Add WeekYear plugin ([a892608](iamkun/dayjs@a892608)) * API .locale() with no argument should return current locale name string ([8d63d88](iamkun/dayjs@8d63d88)) * CustomParseFormat correct parse HH:mm:ss with only one digit like 0:12:10 ([600d547](iamkun/dayjs@600d547)) * CustomParseFormat plugin parse Do format string ([bf27fda](iamkun/dayjs@bf27fda)), closes [#522](iamkun/dayjs#522) * Expand setters like .year(2000) .hour(12) ([ac532a0](iamkun/dayjs@ac532a0)) * Move toObject, toArray API to separate plugin from core ([40a3431](iamkun/dayjs@40a3431))
## [1.8.10](iamkun/dayjs@v1.8.9...v1.8.10) (2019-03-10) ### Bug Fixes * **locale:** Add nepali (ne) locale ([#524](iamkun/dayjs#524)) ([bdbec01](iamkun/dayjs@bdbec01)) * Add WeekYear plugin ([a892608](iamkun/dayjs@a892608)) * API .locale() with no argument should return current locale name string ([8d63d88](iamkun/dayjs@8d63d88)) * CustomParseFormat correct parse HH:mm:ss with only one digit like 0:12:10 ([600d547](iamkun/dayjs@600d547)) * CustomParseFormat plugin parse Do format string ([bf27fda](iamkun/dayjs@bf27fda)), closes [#522](iamkun/dayjs#522) * Expand setters like .year(2000) .hour(12) ([ac532a0](iamkun/dayjs@ac532a0)) * Move toObject, toArray API to separate plugin from core ([40a3431](iamkun/dayjs@40a3431))
## [1.8.10](iamkun/dayjs@v1.8.9...v1.8.10) (2019-03-10) ### Bug Fixes * **locale:** Add nepali (ne) locale ([#524](iamkun/dayjs#524)) ([bdbec01](iamkun/dayjs@bdbec01)) * Add WeekYear plugin ([a892608](iamkun/dayjs@a892608)) * API .locale() with no argument should return current locale name string ([8d63d88](iamkun/dayjs@8d63d88)) * CustomParseFormat correct parse HH:mm:ss with only one digit like 0:12:10 ([600d547](iamkun/dayjs@600d547)) * CustomParseFormat plugin parse Do format string ([bf27fda](iamkun/dayjs@bf27fda)), closes [#522](iamkun/dayjs#522) * Expand setters like .year(2000) .hour(12) ([ac532a0](iamkun/dayjs@ac532a0)) * Move toObject, toArray API to separate plugin from core ([40a3431](iamkun/dayjs@40a3431))
Describe the bug
When using
AdvancedFormat
plugin that allows ordinals, theCustomParseFormat
plugin doesn't parse dates that have ordinals. So:returns
Expected behavior
When both
AdvancedFormat
andCustomParseFormat
plugins are enabledshould return a dayjs object, either with or without the ordinal defined in it:
Information
The text was updated successfully, but these errors were encountered: