You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current definition of current_zone() is the following:
A pointer to the time zone which the computer has set as its local time zone.
This leaves quite a lot of things open, most notably whether the returned time zone needs to be the same as the one used by the C library functions that deal with local time. In particular, it is unclear whether the TZ environment variable needs to be respected on POSIX systems (it is respected by the C library, but the words "the computer" as opposed to "the process" imply that it may need to be ignored).
The text was updated successfully, but these errors were encountered:
hvenev
changed the title
Definition of std::chrono::current_zone() unclear
[time.zone.db.access] Definition of std::chrono::current_zone() unclear
Apr 9, 2024
The current definition of
current_zone()
is the following:This leaves quite a lot of things open, most notably whether the returned time zone needs to be the same as the one used by the C library functions that deal with local time. In particular, it is unclear whether the
TZ
environment variable needs to be respected on POSIX systems (it is respected by the C library, but the words "the computer" as opposed to "the process" imply that it may need to be ignored).The text was updated successfully, but these errors were encountered: