-
-
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 plugin make some mistakes #1194
Comments
I've the same problem when I'm trying to use strict format: This example should return true:
https://repl.it/@alexw0/dayjs-test#index.js Is this a bug or are we doing anything wrong? |
I am actually noticing this is an issue between 1.9.4 and 1.9.5. I was seeing tests failing when we upgraded to 1.9.5 but they are not in 1.9.4. |
Will fix soon in the next release. |
🎉 This issue has been resolved in version 1.9.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [1.9.6](iamkun/dayjs@v1.9.5...v1.9.6) (2020-11-10) ### Bug Fixes * fix customParseFormat plugin parsing date bug ([#1198](iamkun/dayjs#1198)) ([50f05ad](iamkun/dayjs@50f05ad)), closes [#1194](iamkun/dayjs#1194) * Update lv (Latvian) locale relative time ([#1192](iamkun/dayjs#1192)) ([6d6c684](iamkun/dayjs@6d6c684))
## [1.9.6](iamkun/dayjs@v1.9.5...v1.9.6) (2020-11-10) ### Bug Fixes * fix customParseFormat plugin parsing date bug ([#1198](iamkun/dayjs#1198)) ([50f05ad](iamkun/dayjs@50f05ad)), closes [#1194](iamkun/dayjs#1194) * Update lv (Latvian) locale relative time ([#1192](iamkun/dayjs#1192)) ([6d6c684](iamkun/dayjs@6d6c684))
## [1.9.6](iamkun/dayjs@v1.9.5...v1.9.6) (2020-11-10) ### Bug Fixes * fix customParseFormat plugin parsing date bug ([#1198](iamkun/dayjs#1198)) ([50f05ad](iamkun/dayjs@50f05ad)), closes [#1194](iamkun/dayjs#1194) * Update lv (Latvian) locale relative time ([#1192](iamkun/dayjs#1192)) ([6d6c684](iamkun/dayjs@6d6c684))
Describe the bug
Expected behavior
The second console.log should print true as the first one.
Information
The text was updated successfully, but these errors were encountered: