[tz] proposal for new tzdb versions

Howard Hinnant howard.hinnant at gmail.com
Thu Sep 23 01:09:46 UTC 2021


On Sep 22, 2021, at 9:03 PM, Stephen Colebourne via tz <tz at iana.org> wrote:
> 
> Because of the way Joda-Time works wrt actively changing the ID a user
> requests to the canonical form, releasing 2021b as-is will cause
> serious application issues where users pass in Oslo and get Berlin.
> 
> eg.
>    DateTimeZone zone = DateTimeZone.forID("Europe/Oslo");
>    System.out.println(zone);
> will print "Europe/Berlin"

Fwiw, C++20 has exactly the same issue, with different syntax of course.  You can ask for a time_zone by name.  If that name is a link, you get the aliased time_zone.  If you ask for that time_zone’s name, you get the time_zone name, not the link name.

Howard



More information about the tz mailing list