Date: Thu, 17 Dec 2020 17:30:16 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251918] strptime(): %b always returns month 0 Message-ID: <bug-251918-227-aYsAJSuFyE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251918-227@https.bugs.freebsd.org/bugzilla/> References: <bug-251918-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251918 --- Comment #2 from Yuri Pankov <yuripv@FreeBSD.org> --- (In reply to Yuri Pankov from comment #1) Actually, "as it comes earlier" part is not correct; it seems to be implementation choice as standard does not specify was happens if conflicti= ng specifiers are provided: - if %b and %j are specified, value converted by %b is ignored, month comes from %j - if %d and %j are specified, month day comes from %d, month comes from %j - if all of the %b, %d, and %j are specified, %j is ignored, values come fr= om %b and %d --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251918-227-aYsAJSuFyE>