-
-
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: fix parse date string error e.g. '2020/9/30' #980
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #980 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 170 170
Lines 1477 1477
Branches 311 311
=========================================
Hits 1477 1477
Continue to review full report at Codecov.
|
## [1.8.32](v1.8.31...v1.8.32) (2020-08-04) ### Bug Fixes * Add Experimental Timezone Plugin ([#974](#974)) ([e69caba](e69caba)) * fix parse date string error e.g. '2020/9/30' ([#980](#980)) ([231790d](231790d)), closes [#979](#979) * update monthDiff function to get more accurate results ([19e8a7f](19e8a7f)) * Update UTC plugin to support keepLocalTime ([#973](#973)) ([9f488e5](9f488e5))
🎉 This PR is included in version 1.8.32 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Still has issue with invalid date string, like |
You may specify a boolean for the last argument to use strict parsing. Strict parsing requires that the format and input match exactly, including delimiters.
|
## [1.8.32](iamkun/dayjs@v1.8.31...v1.8.32) (2020-08-04) ### Bug Fixes * Add Experimental Timezone Plugin ([#974](iamkun/dayjs#974)) ([e69caba](iamkun/dayjs@e69caba)) * fix parse date string error e.g. '2020/9/30' ([#980](iamkun/dayjs#980)) ([231790d](iamkun/dayjs@231790d)), closes [#979](iamkun/dayjs#979) * update monthDiff function to get more accurate results ([19e8a7f](iamkun/dayjs@19e8a7f)) * Update UTC plugin to support keepLocalTime ([#973](iamkun/dayjs#973)) ([9f488e5](iamkun/dayjs@9f488e5))
## [1.8.32](iamkun/dayjs@v1.8.31...v1.8.32) (2020-08-04) ### Bug Fixes * Add Experimental Timezone Plugin ([#974](iamkun/dayjs#974)) ([e69caba](iamkun/dayjs@e69caba)) * fix parse date string error e.g. '2020/9/30' ([#980](iamkun/dayjs#980)) ([231790d](iamkun/dayjs@231790d)), closes [#979](iamkun/dayjs#979) * update monthDiff function to get more accurate results ([19e8a7f](iamkun/dayjs@19e8a7f)) * Update UTC plugin to support keepLocalTime ([#973](iamkun/dayjs#973)) ([9f488e5](iamkun/dayjs@9f488e5))
## [1.8.32](iamkun/dayjs@v1.8.31...v1.8.32) (2020-08-04) ### Bug Fixes * Add Experimental Timezone Plugin ([#974](iamkun/dayjs#974)) ([e69caba](iamkun/dayjs@e69caba)) * fix parse date string error e.g. '2020/9/30' ([#980](iamkun/dayjs#980)) ([231790d](iamkun/dayjs@231790d)), closes [#979](iamkun/dayjs#979) * update monthDiff function to get more accurate results ([19e8a7f](iamkun/dayjs@19e8a7f)) * Update UTC plugin to support keepLocalTime ([#973](iamkun/dayjs#973)) ([9f488e5](iamkun/dayjs@9f488e5))
fix #979