https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108409
--- Comment #8 from GCC 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:e28494e08092c4096a015563c0ba0494ce1edf81 commit r16-2267-ge28494e08092c4096a015563c0ba0494ce1edf81 Author: Björn Schäpers <bjo...@hazardy.de> Date: Thu Jul 10 09:48:19 2025 +0200 libstdc++: Implement std::chrono::current_zone() for Windows [PR108409] On Windows there is no API to get the current time zone as IANA name, instead Windows has its own zones. But there exists a mapping provided by the Unicode Consortium. This patch adds a script to convert the XML file with the mapping to a lookup table and adds a Windows code path to use that mapping. libstdc++-v3/Changelog: Implement std::chrono::current_zone() for Windows PR libstdc++/108409 * scripts/gen_windows_zones_map.py: New file, generates windows_zones-map.h. * src/c++20/windows_zones-map.h: New file, contains the look up table. * src/c++20/tzdb.cc (tzdb::current_zone): Add Windows code path. Signed-off-by: Björn Schäpers <bjo...@hazardy.de>