-
-
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
Manipulate with utc0 time is wrong! #1778
Comments
@iamkun do you have any idea? |
@jetzhliu use const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
dayjs.extend(utc)
console.log('>>> now is', dayjs('2022-10-24').utcOffset(0, true).format())
console.log('>>> now2 is', dayjs('2022-10-24').add(0, 'm').utcOffset(0, true).format()) |
chs97
pushed a commit
to chs97/dayjs
that referenced
this issue
Mar 28, 2024
chs97
added a commit
to chs97/dayjs
that referenced
this issue
Mar 28, 2024
chs97
pushed a commit
to chs97/dayjs
that referenced
this issue
Mar 28, 2024
chs97
added a commit
to chs97/dayjs
that referenced
this issue
Mar 28, 2024
chs97
added a commit
to chs97/dayjs
that referenced
this issue
Oct 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Expected behavior
Information
The text was updated successfully, but these errors were encountered: