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
Display issue on DST transition day #589
Comments
Hi @guidsen! These methods - So, this To add hours or minutes, you should use Of course it's still confusing that that |
similar issue occurs with day.tz();
"America/Santiago"
day.format();
"2018-08-11T00:00:00-04:00" // shift day
day.add(1, 'day').format();
"2018-08-11T23:00:00-04:00" |
The same issue that @Romanior mentioned is what I brought up here: The |
Workaround for m.add(x, 'days'):
|
Output:
2018-03-25 is the day when the summertime will be activated. Why is the output different?
When using 2018-03-25 (the day after), both dates are exactly the same.
Is there a difference between using the
.hour
and.minute
method?The text was updated successfully, but these errors were encountered: