-
Notifications
You must be signed in to change notification settings - Fork 8
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
DST issue #1
Comments
I'm not sure but from what I've been testing this might be caused because the script always gets the current time offset, not time offset from the specified date. For example, based on where I am: I think |
Same issue here.
|
I think there's a way to help with DST calculations but it would NOT work on IE11, would that be a problem? If not, I can come up with a PR within the next few days. |
with what reason it would not work on IE11? |
If you have some issues with DST and DaysJS, try my dayjs plugin: cf. comment: iamkun/dayjs#1271 (comment) |
Daylight Savings Time seems to be an issue in the plugin.
I'd expect
2016-11-18T00:00:00+00:00
to be the value returned.I found that dates including and between 11/7 - 3/13 have this problem.
Or am I just missing something? (My local offset is -7, observing DST currently.)
The text was updated successfully, but these errors were encountered: