libstdc++: Update tzdata to 2023a [PR109288]
authorJonathan Wakely <jwakely@redhat.com>
Mon, 27 Mar 2023 12:51:25 +0000 (13:51 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 28 Mar 2023 20:12:18 +0000 (21:12 +0100)
commitcf19ef9eca82b01dd0a3a0a8e4c8bcec236eb2d9
tree66ac9e3709b0a8d9095312426c9e81724a9f2a39
parent2e71f05403c36d25216107a7ae43c7055a282d73
libstdc++: Update tzdata to 2023a [PR109288]

Import the new 2023a tzdata.zi file and update the expiry dates of the
hardcoded lists of leapseconds to 2023-12-28.

With the new data, Africa/Egypt no longer has a single unbroken sys_info
from 2014-09-25 to chrono::year::max(). Only check up to 2014-09-01 so
that the test isn't sensitive to differences between 2022g and 2023a
data.

libstdc++-v3/ChangeLog:

PR libstdc++/109288
* include/std/chrono (__detail::__get_leap_second_info): Update
expiry date of hardcoded leapseconds list.
* src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds()):
Likewise.
* src/c++20/tzdata.zi: Import new file from 2023a release.
* testsuite/std/time/time_zone/get_info_local.cc: Only check
transitions for Egypt up to 2014.
libstdc++-v3/include/std/chrono
libstdc++-v3/src/c++20/tzdata.zi
libstdc++-v3/src/c++20/tzdb.cc
libstdc++-v3/testsuite/std/time/time_zone/get_info_local.cc