Skip to content
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

Egypt now in daylight savings which are not included in TZ data #1063

Closed
donengel opened this issue May 18, 2023 · 1 comment
Closed

Egypt now in daylight savings which are not included in TZ data #1063

donengel opened this issue May 18, 2023 · 1 comment

Comments

@donengel
Copy link

Egypt has regularly changed their rules regarding daylight savings and did so again in March, with the newly established daylight savings having started a few weeks ago on April 28th. Moment does not currently take the new daylight savings into account (i.e., as of 2023c.json). I think this data might get pulled into moment-timezone from the TZDB data file, which (as of this writing) is still on 2023c, as well.

This was an issue previously here: moment/moment#1721
The latest change by Egypt is described here: https://www.timeanddate.com/time/zones/eest

@gilmoreorless
Copy link
Member

These new rules were added in IANA release 2023b, which was included in Moment Timezone 0.5.42: #1047.

moment.tz.version;
// "0.5.43"
moment.tz('2023-04-27', 'Africa/Cairo').format();
// "2023-04-27T00:00:00+02:00"
moment.tz('2023-04-28', 'Africa/Cairo').format();
// "2023-04-28T01:00:00+03:00" 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants