From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D8A8B3858D20; Mon, 6 Nov 2023 17:26:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8A8B3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699291593; bh=fEbgWvG+XkyzffXxUbPt1LiA6JNg0QOm9IdtTE4Kmqo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nXYVtvSkxDUPpNfm24KMkg3iMqBRKxMP7bbtHB07zfHufFnocteLvrNodnMFE4cGr 5Hk6qSaimGjQBC0dWvsxIU2n1PaCIH3MZpgQyu3eaJulNt/ntQI/H+NqM/GUONLr1k HWfCjrIgpZ6wKb8ZuNMSgHl0Hv+5ziYAyYT34/Yw= From: "mac at mcrowe dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108409] std::chrono::current_zone() doesn't work on AIX or Windows Date: Mon, 06 Nov 2023 17:26:32 +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: mac at mcrowe dot com 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: cc 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 Mike Crowe changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mac at mcrowe dot com --- Comment #7 from Mike Crowe --- ICU tries to solve this problem with a table at https://github.com/unicode-org/icu/blob/fa6a4661ba002c1c1ee68cbf5c7ac9af751= 32d07/icu4c/source/common/putil.cpp#L802 and other heuristics in the same file. Based on my understanding, the table is incorrect for the Australian zones = and US/Aleutian (it gets the short names wrong) and it's missing the non-DST US zones. I'm not sure if it's worth going to these lengths to try to map POSIX time = zone strings to Olson names, but I thought I'd provide the link in case it's use= ful.=