From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F8E13858D20; Sat, 14 Jan 2023 19:17:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F8E13858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673723843; bh=o5hCsh9zqM/B4cxwSqAVEQE/GRjrrFFTdmRrqTgMmS0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NyR5WE+5emjbk3dqy1ULHMgQJ/zb92O7qhD8Dt7ZdnDzGa/ptps9WBW2tUUvd1eFT fqP/tAsXdXPYMi8954Ngs01xGNy8gYVTvEHKOB1uPlsSvH9BMJCarqH+gdFc5EIMY7 yQE+7eBq0qoHuzJHQs/Xa4bP31S7bOOatgiS3aik= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108409] std::chrono::current_zone() doesn't work on AIX Date: Sat, 14 Jan 2023 19:17:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108409 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-01-14 --- Comment #1 from Jonathan Wakely --- https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#ta= g_08_03 describes the format of the TZ variable when it's not an IANA name. When TZ does not name an IANA zone, we could potentially create a new chrono::time_zone object, generated from the std and dst names, with the appropriate offsets and DST transitions. Then current_zone() would return a pointer to that custom zone.=