-
-
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
valueOf of date with with setted utcOffset does not work properly #809
Comments
+1 |
iamkun
added a commit
that referenced
this issue
Apr 17, 2020
iamkun
added a commit
that referenced
this issue
Apr 17, 2020
iamkun
pushed a commit
that referenced
this issue
Apr 21, 2020
## [1.8.25](v1.8.24...v1.8.25) (2020-04-21) ### Bug Fixes * Fix CustomParseFormat plugin of parsing only YYYY / YYYY-MM bug ([#873](#873)) ([3cea04d](3cea04d)), closes [#849](#849) * Fix Duration plugin get seconds ([#867](#867)) ([62b092d](62b092d)) * Fix type definition of locale ([9790b85](9790b85)) * Fix UTC plugin startOf, endOf bug ([#872](#872)) ([4141084](4141084)), closes [#809](#809) [#808](#808)
🎉 This issue has been resolved in version 1.8.25 🎉 The release is available on: Your semantic-release bot 📦🚀 |
andrewhood125ruhuc
added a commit
to andrewhood125ruhuc/SidRH2
that referenced
this issue
May 10, 2022
## [1.8.25](iamkun/dayjs@v1.8.24...v1.8.25) (2020-04-21) ### Bug Fixes * Fix CustomParseFormat plugin of parsing only YYYY / YYYY-MM bug ([#873](iamkun/dayjs#873)) ([3cea04d](iamkun/dayjs@3cea04d)), closes [#849](iamkun/dayjs#849) * Fix Duration plugin get seconds ([#867](iamkun/dayjs#867)) ([62b092d](iamkun/dayjs@62b092d)) * Fix type definition of locale ([9790b85](iamkun/dayjs@9790b85)) * Fix UTC plugin startOf, endOf bug ([#872](iamkun/dayjs#872)) ([4141084](iamkun/dayjs@4141084)), closes [#809](iamkun/dayjs#809) [#808](iamkun/dayjs#808)
andrewhood125ruhuc
added a commit
to andrewhood125ruhuc/SidRH2
that referenced
this issue
May 10, 2022
## [1.8.25](iamkun/dayjs@v1.8.24...v1.8.25) (2020-04-21) ### Bug Fixes * Fix CustomParseFormat plugin of parsing only YYYY / YYYY-MM bug ([#873](iamkun/dayjs#873)) ([3cea04d](iamkun/dayjs@3cea04d)), closes [#849](iamkun/dayjs#849) * Fix Duration plugin get seconds ([#867](iamkun/dayjs#867)) ([62b092d](iamkun/dayjs@62b092d)) * Fix type definition of locale ([9790b85](iamkun/dayjs@9790b85)) * Fix UTC plugin startOf, endOf bug ([#872](iamkun/dayjs#872)) ([4141084](iamkun/dayjs@4141084)), closes [#809](iamkun/dayjs#809) [#808](iamkun/dayjs#808)
splashwizard
pushed a commit
to splashwizard/tracking-time
that referenced
this issue
Oct 21, 2024
## [1.8.25](iamkun/dayjs@v1.8.24...v1.8.25) (2020-04-21) ### Bug Fixes * Fix CustomParseFormat plugin of parsing only YYYY / YYYY-MM bug ([#873](iamkun/dayjs#873)) ([3cea04d](iamkun/dayjs@3cea04d)), closes [#849](iamkun/dayjs#849) * Fix Duration plugin get seconds ([#867](iamkun/dayjs#867)) ([62b092d](iamkun/dayjs@62b092d)) * Fix type definition of locale ([9790b85](iamkun/dayjs@9790b85)) * Fix UTC plugin startOf, endOf bug ([#872](iamkun/dayjs#872)) ([4141084](iamkun/dayjs@4141084)), closes [#809](iamkun/dayjs#809) [#808](iamkun/dayjs#808)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
valueOf of date with with setted utcOffset does not work properly
Expected behavior
dayjs('2017-07-20T11:00:00+00:00').utcOffset(-12).startOf('day').valueOf()
should equal to
moment('2017-07-20T11:00:00+00:00').utcOffset(-12).startOf('day').valueOf()
and be 1500465600000
Information
The text was updated successfully, but these errors were encountered: