You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nodejs does not recognize the changes to Africa/Cairo timezone changes #47818
Welcome to Node.js v18.16.0.
Type ".help"for more information.
> new Date().toLocaleString('en-US', { timeZone: "Africa/Cairo" })
# '5/2/2023, 1:34:31 PM'>
Machine time
TZ=Africa/Cairo date
# Tue May 2 14:35:06 EEST 2023
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
there must be an update to the date library to recognize the recent changes
The change is in version 2023a of the timezone database, which has yet to land in v18.x. However, v20.x includes 2023c if using v20.x is an option for you.
The change is in version 2023a of the timezone database, which has yet to land in v18.x. However, v20.x includes 2023c if using v20.x is an option for you.
Activity
mscdex commentedon May 2, 2023
The change is in version 2023a of the timezone database, which has yet to land in v18.x. However, v20.x includes 2023c if using v20.x is an option for you.
abumostafa commentedon May 2, 2023
Thanks @mscdex. an upgrade was possible.
bnoordhuis commentedon May 3, 2023
Good to hear. I'll close this out.