spencermountain / spacetime

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

Spacetime throws an error resolving "Europe/Kyiv" timezone in Firefox Nightly #345

Closed e1himself closed 1 year ago

e1himself commented 1 year ago

Hey!

I've noticed that spacetime has stopped working in my Firefox Nightly last month (late August 2022).

Error: Spacetime: Cannot find timezone named: 'europe/kyiv'. Please enter an IANA timezone id.

My investigation showed that this is caused by Firefox switching to the new Timezone ID for Kyiv, Ukraine in August. See: https://hg.mozilla.org/comm-central/rev/910023f0afd7

It reports timezone as Europe/Kyiv now, while Europe/Kiev is kept as a backward compatibiltiy alias.

image

This reflects the current state of IANA timezones. See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

image