https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108211
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:56be1970765b6302de19977790a537d6feaaa34b commit r13-5004-g56be1970765b6302de19977790a537d6feaaa34b Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Jan 4 20:49:59 2023 +0000 libstdc++: Support single components in name of chrono::current_zone() [PR108211] We currently only handle the case where /etc/localtime is a symlink to a path like ".../Etc/UTC" and fail for ".../UTC". This makes both work. libstdc++-v3/ChangeLog: PR libstdc++/108211 * src/c++20/tzdb.cc (chrono::current_zone()): Check for zone using only last component of the name.