From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E74CD3858D28; Mon, 8 Apr 2024 20:56:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E74CD3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712609775; bh=IN5GM4+XWfGUppQdS69QRIFOF+/1FJtuxST86AwyJj0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DecmJZVvTrjsiLS3Ijb/kC4u1NaFSQroGZrtXd8sFKqdRp5kdwfFCYEIBazFKY35J lFyLjnjM0WydmQjWIsHU8DEP88QafVfyTNrJgGPu2DcldDulCZIg4e5kuzfFX7fEzw venaj2/3jIwT7yuqOhPGNtUdHZ/n1925+hx00Ib4= From: "hristo at venev dot name" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114645] std::chrono::current_zone ignores $TZ on Linux Date: Mon, 08 Apr 2024 20:56:15 +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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hristo at venev dot name X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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: 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=3D114645 --- Comment #7 from Hristo Venev --- I was actually trying to fix a bug in an existing application that I didn't write that is using std::chrono::current_zone() under the assumption that it returns some good approximation of what should be considered the "local" ti= me zone. I guess I need to open a bug with the application. Still, as I said previously, the other time zone libraries I checked attemp= t to handle $TZ.=