[Bug libstdc++/122567] std::chrono::current_zone() fails to resolve timezone from /etc/localtime if it has three components

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 9 12:06:46 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122567

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Re the right/ sub-directory:
https://lists.iana.org/hyperkitty/list/tz@iana.org/message/LB4NTIQPNFCREDUF4WBBSO7MGFHIYT7X/

Paul proposed a patch today to stop installing those by default, because they
give strange results and contradict POSIX. I don't think we want to support
those 'right' zone files in std::chrono.

We still need to support America/Indiana/Indianapolis of course.


More information about the Gcc-bugs mailing list