We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Adding 1 day to March24th in the Atlantic/Azores timezone yields the same day.
To Reproduce Steps to reproduce the behavior:
moment.tz.setDefault("Atlantic/Azores"); moment("2018-03-24", "YYYY-MM-DD").add(1, "days").format("YYYY-MM-DD") "2018-03-24"
Expected behavior Moment should correctly display the next day: "2018-03-25"
Desktop (please complete the following information):
Moment-specific environment Ran in chrome dev console on https://momentjs.com/
moment.tz.setDefault("Atlantic/Azores"); moment("2018-03-24", "YYYY-MM-DD").add(1, "days").format("YYYY-MM-DD") "2018-03-24" console.log((new Date()).toString()) console.log((new Date()).toLocaleString()) console.log((new Date()).getTimezoneOffset()) console.log(navigator.userAgent) console.log(moment.version) Thu Jan 10 2019 15:02:54 GMT-0500 (Eastern Standard Time) 1/10/2019, 3:02:54 PM 300 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 2.23.0
The text was updated successfully, but these errors were encountered:
Duplicate of #409, just a different time zone that also has midnight transitions. Tracking there. Thanks.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Adding 1 day to March24th in the Atlantic/Azores timezone yields the same day.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Moment should correctly display the next day: "2018-03-25"
Desktop (please complete the following information):
Moment-specific environment
Ran in chrome dev console on https://momentjs.com/
The text was updated successfully, but these errors were encountered: