libstdc++: Update tzdata to 2025a

Import the new 2025a tzdata.zi file. The leapseconds file was also
updated to have a new expiry (no new leap seconds were added).

libstdc++-v3/ChangeLog:

	* include/std/chrono (__detail::__get_leap_second_info): Update
	expiry date for leap seconds list.
	* src/c++20/tzdata.zi: Import new file from 2025a release.
	* src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds)
	Update expiry date for leap seconds list.
This commit is contained in:
Jonathan Wakely 2024-01-12 16:57:41 +00:00 committed by Jonathan Wakely
parent 90f5dabddb
commit 0ce4c1c485
No known key found for this signature in database
3 changed files with 840 additions and 848 deletions

View file

@ -3260,7 +3260,7 @@ namespace __detail
};
// The list above is known to be valid until (at least) this date
// and only contains positive leap seconds.
const sys_seconds __expires(1735344000s); // 2024-12-28 00:00:00 UTC
const sys_seconds __expires(1766880000s); // 2025-12-28 00:00:00 UTC
#if _GLIBCXX_USE_CXX11_ABI || ! _GLIBCXX_USE_DUAL_ABI
if (__ss > __expires)

File diff suppressed because it is too large Load diff

View file

@ -1209,8 +1209,8 @@ namespace std::chrono
pair<vector<leap_second>, bool>
tzdb_list::_Node::_S_read_leap_seconds()
{
// This list is valid until at least 2024-12-28 00:00:00 UTC.
auto expires = sys_days{2024y/12/28};
// This list is valid until at least 2025-12-28 00:00:00 UTC.
auto expires = sys_days{2025y/12/28};
vector<leap_second> leaps
{
(leap_second) 78796800, // 1 Jul 1972