icu4x icon indicating copy to clipboard operation
icu4x copied to clipboard

Iterate through canonical timezones and metazones

Open robertbastian opened this issue 1 year ago • 1 comments

robertbastian avatar Oct 11 '24 23:10 robertbastian

So I added this because you were convinced that there are use cases of iterating through all time zones or all metazones for displaying time zone pickers. Do you still think that's a use case? I can bit pack the data struct, we can store this information for free if we want.

If not, just close the PR.

robertbastian avatar Oct 17 '24 22:10 robertbastian

I'm not convinced that this approach works

Did you consider when a time zone changes metazones, thereby messing up the mapping?

sffc avatar Oct 22 '24 16:10 sffc

Did you consider when a time zone changes metazones, thereby messing up the mapping?

That's a CLDR problem, they define golden zones. But whatever

robertbastian avatar Oct 22 '24 17:10 robertbastian

I'm pretty sure golden zones are not meant to be stable.

But, I'm fine closing this PR and revisiting something like this when we have someone asking for it.

sffc avatar Oct 23 '24 03:10 sffc