-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Adding months to date across DST does not preserve hour #5825
Comments
I don't this issue on the 2.24.0
Result:
|
I don't see the problem on 2.29.1 either
|
@benzispawn I think you are running it in your local time (Brasilia Standard Time) which does not observe daylight savings, correct? Therefore, you most likely wouldn't see this issue. The important detail in the original ticket is that it was run in |
@marwahaha Why was this closed? |
We are currently experiencing the same problem. |
Describe the bug
If you add months to a date across DST, it does not preserve the hour as stated in the docs:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
v14.15.4
2.29.1
Moment-specific environment
America/Denver
1612456862588
n/a
Please run the following code in your environment and include the output:
Result:
The text was updated successfully, but these errors were encountered: