-
-
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
dayjs().format('YYYY w Week') error result #676
dayjs().format('YYYY w Week') error result #676
Comments
Bug confirmed. Current workaround
|
@iamkun hello, i also find dayjs().format('gggg')not working, but momentjs support it. expect dayjs support it |
'gggg' is already supported in advancedFormat plugin (and depend on weekYear plugin)
|
ok thanks~ |
## [1.8.17](v1.8.16...v1.8.17) (2019-11-06) ### Bug Fixes * Fix set utcOffset in utc mode ([d148115](d148115)) * Update advancedFormat plugin to support w ww wo week tokens … ([#678](#678)) ([26cfa63](26cfa63)), closes [#676](#676) * Update ka locale weekdays ([f8ca3d4](f8ca3d4)) * Update nb locale ([#679](#679)) ([1063b0e](1063b0e)) * Update Polish locale (pl)([#713](#713)) ([30d2f02](30d2f02)) * Update Ukrainian locale (uk) ([#710](#710)) ([360161c](360161c)) * UTC plugin set utcOffset value ([#668](#668)) ([8877883](8877883))
🎉 This issue has been resolved in version 1.8.17 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [1.8.17](iamkun/dayjs@v1.8.16...v1.8.17) (2019-11-06) ### Bug Fixes * Fix set utcOffset in utc mode ([d148115](iamkun/dayjs@d148115)) * Update advancedFormat plugin to support w ww wo week tokens … ([#678](iamkun/dayjs#678)) ([26cfa63](iamkun/dayjs@26cfa63)), closes [#676](iamkun/dayjs#676) * Update ka locale weekdays ([f8ca3d4](iamkun/dayjs@f8ca3d4)) * Update nb locale ([#679](iamkun/dayjs#679)) ([1063b0e](iamkun/dayjs@1063b0e)) * Update Polish locale (pl)([#713](iamkun/dayjs#713)) ([30d2f02](iamkun/dayjs@30d2f02)) * Update Ukrainian locale (uk) ([#710](iamkun/dayjs#710)) ([360161c](iamkun/dayjs@360161c)) * UTC plugin set utcOffset value ([#668](iamkun/dayjs#668)) ([8877883](iamkun/dayjs@8877883))
## [1.8.17](iamkun/dayjs@v1.8.16...v1.8.17) (2019-11-06) ### Bug Fixes * Fix set utcOffset in utc mode ([d148115](iamkun/dayjs@d148115)) * Update advancedFormat plugin to support w ww wo week tokens … ([#678](iamkun/dayjs#678)) ([26cfa63](iamkun/dayjs@26cfa63)), closes [#676](iamkun/dayjs#676) * Update ka locale weekdays ([f8ca3d4](iamkun/dayjs@f8ca3d4)) * Update nb locale ([#679](iamkun/dayjs#679)) ([1063b0e](iamkun/dayjs@1063b0e)) * Update Polish locale (pl)([#713](iamkun/dayjs#713)) ([30d2f02](iamkun/dayjs@30d2f02)) * Update Ukrainian locale (uk) ([#710](iamkun/dayjs#710)) ([360161c](iamkun/dayjs@360161c)) * UTC plugin set utcOffset value ([#668](iamkun/dayjs#668)) ([8877883](iamkun/dayjs@8877883))
## [1.8.17](iamkun/dayjs@v1.8.16...v1.8.17) (2019-11-06) ### Bug Fixes * Fix set utcOffset in utc mode ([d148115](iamkun/dayjs@d148115)) * Update advancedFormat plugin to support w ww wo week tokens … ([#678](iamkun/dayjs#678)) ([26cfa63](iamkun/dayjs@26cfa63)), closes [#676](iamkun/dayjs#676) * Update ka locale weekdays ([f8ca3d4](iamkun/dayjs@f8ca3d4)) * Update nb locale ([#679](iamkun/dayjs#679)) ([1063b0e](iamkun/dayjs@1063b0e)) * Update Polish locale (pl)([#713](iamkun/dayjs#713)) ([30d2f02](iamkun/dayjs@30d2f02)) * Update Ukrainian locale (uk) ([#710](iamkun/dayjs#710)) ([360161c](iamkun/dayjs@360161c)) * UTC plugin set utcOffset value ([#668](iamkun/dayjs#668)) ([8877883](iamkun/dayjs@8877883))
Describe the bug
使用dayjs().format('YYYY年第w周') 期望可以得到 2019年第29周
Expected behavior
使用dayjs().format('YYYY年第w周') 期望可以得到 2019年第29周,实际上却展示为2019年第w周
Information
The text was updated successfully, but these errors were encountered: