From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D6F4385E44E; Wed, 27 Mar 2024 16:49:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D6F4385E44E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711558165; bh=0iTHZO7l8VLE0fe8LopMzI1IL3Tv0B4r46hfIR4Vl6Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=e819+TVUx6zo4IY7i60HnBxxEvz5tRLMfms1eMoHeFsxnmZXoFE54W+6e7EYiJTtK qZ16YQTr0fYyM7JAQtXT4rSHMnTwFLPLI3BcEI/UWmKYuew+PFV/c4M8R9kZobajBY VB/qU0AEz9mGCMT0fXRNU2ilZj1Oyexunx5AQ6Co= From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug time/31558] mktime wildly mishandles times near Pacific/Apia tz discontinuity Date: Wed, 27 Mar 2024 16:49:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31558 --- Comment #1 from Andreas Schwab --- Pacific/Apia Fri Dec 30 09:59:59 2011 UT =3D Thu Dec 29 23:59:59 2011 -10 isdst=3D1 gmtoff=3D-36000 Pacific/Apia Fri Dec 30 10:00:00 2011 UT =3D Sat Dec 31 00:00:00 2011 +14 isdst=3D1 gmtoff=3D50400 When tm_isdst is nonzero, the correct output is produced. localtime produces the same wrong output when called with 1325329200. --=20 You are receiving this mail because: You are on the CC list for the bug.=