-
Notifications
You must be signed in to change notification settings - Fork 837
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
Date decrease by 1day while formatting dates greater than 2037 for the timezones which have DayLightSaving #945
Comments
Can you please provide exact examples, expected, actual results. Normally moment-timezone releases have DST info up until 2037 (well some have until 23xx but this is a bug : #768). |
Hello, |
Bump - any updates here? My use case is that I'm comparing dates to see if they're quarter-end dates. Unfortunately, after 2037, only Dec 31 is matching (while Mar 31, Jun 30, and Sept 30) are not matching. I'm not using time to check - only month # and day #. But, for example, 09/30/2039 is being seen as 09/28/2039 when using the |
The last few Moment Timezone releases (since |
That's good to know - we will look into upgrading Moment when we update packages this year! We're on For anyone still on an older version, I ended up using JS's |
I'm going to close this as it looks like the data issue has been resolved. As a side note, we're looking at a future compromise between data accuracy and file size. At some point we'll likely lock the maximum date range in the data to |
0.5.32### Moment-timezone version which you use:
Version:
Note: many issues are resolved if you just upgrade to the latest version
Issue description:
When a date is formatted using moment js and if the year is greater than 2037 and the corresponding timezone has DST, date is formatted 1 day less
The text was updated successfully, but these errors were encountered: