From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2CD2038582A0; Tue, 5 Mar 2024 15:31:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CD2038582A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709652702; bh=/MW3tNHe12xOWJ//vDkscKBLMcfaRdxMoi9C3K/BclM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W7RlH5eic/lHQoWYOG8faYPEKGacXa6D+GQYC46NMHmSh8wRrHUk6hkjZIr0O3vOg yyhSzxkmsZhAG9vxICMKzmz64fTWlxj8CcAUKV+nXBHdxC1S5OLrp98vii6I9pb9+9 yrpAYQodQuOKzLsdSy5RVbpcw9+iloqJf2VftQsE= From: "howard.hinnant at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114240] sys_days not being parsed with only a date in the stream Date: Tue, 05 Mar 2024 15:31:41 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howard.hinnant at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi 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=3D114240 --- Comment #2 from Howard Hinnant --- In my date lib I just presumed 00:00:00 time of day when parsing time_point= s, unless the parse produced another time of day. Though I must admit that th= is didn't come through in the spec. So there is a little grey area here. We're going to hit the same issue for other timepoints as well: local_time, utc_time, etc.=