Talk:cpp/chrono/tzdb

Per p1981r0 the  member   will be renamed. It hasn't happened yet, so this note is just a placeholder reminder to check when the next C++20 draft/final comes out.

Hadriel (talk) 18:56, 12 December 2019 (PST)

Not supported on older Windows OS
On Windows OS the International Component for Unicode is used to get the necessary informations on time zones and leap seconds. However older versions aren't supported and propbably won't get the necessary components (see https://github.com/microsoft/STL/blob/b9505b9818c8bd53148922730fc2a426e8f38620/stl/src/tzdb.cpp#L66, https://developercommunity.visualstudio.com/t/chrono-tzdb-list-creation-fails-on-windows-server/1465261).

If you have to support older versions such as Windows Server 2016 or 2019 then you shouldn't use std::chrono if you want to use time zones.

Criscross (talk) 02:56, 16 May 2022 (PDT)