[Bug 2096974] Re: tzdata-2024b-0ubuntu0.24.04 makes std::chrono unusable
Benjamin Drung
2096974 at bugs.launchpad.net
Thu Jan 30 16:51:44 UTC 2025
Test results:
* plucky 2024b-6ubuntu1 is NOT affected
* oracular 2024b-1ubuntu2.1 is affected
* noble 2024b-0ubuntu0.24.04 is affected
* jammy fails to compile the example code:
error: ‘get_tzdb’ is not a member of ‘std::chrono’
6 | for (const auto & time_zone : std::chrono::get_tzdb().zones) {
| ^~~~~~~~
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/2096974
Title:
tzdata-2024b-0ubuntu0.24.04 makes std::chrono unusable
Status in tzdata package in Ubuntu:
Triaged
Bug description:
inalling tzdata in version 2024b-0ubuntu0.24.04 causes std::chrono to
deliver only 2 timezones:
code:
for (const auto & time_zone : std::chrono::get_tzdb().zones)
{
std::cout << time_zone.name() << std::endl;
}
output:
Etc/GMT
Etc/UTC
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2096974/+subscriptions
More information about the foundations-bugs
mailing list