spencermountain / spacetime

A lightweight javascript timezone library
http://spacetime.how/
Other
3.97k stars 184 forks source link

Africa/Cairo: wrong TZ offset #404

Closed artask closed 7 months ago

artask commented 7 months ago

In Africa/Cairo parsed dates return wrong timezone offset. The offset is +1 while in fact it should be +2.

On the screenshot below: logged JS Date followed by spacetime(date).format('iso') image (1)

I see that in the previous patch release something similar has been fixed for Casablanca. I thought this may be related.

Thank you for the great package!

spencermountain commented 7 months ago

ah good catch! will add this to the next release. ideally will be this week. cheers

spencermountain commented 7 months ago

fixed in 7.5.0 - thank you!

artask commented 7 months ago

Amazing! Thanks for the quick fix!