Subject: Re: lib/5183: strptime(3) still has a bug about "%I %p"
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Todd Vierling <tv@NetBSD.ORG>
Date: 03/22/1998 17:25:50
On Sun, 22 Mar 1998, der Mouse wrote:
: > const char *buffer = "12 AM"; /* noon */
: Aren't 12:00 times considered to belong to the following, not
: preceding, 12-hour interval? That is, isn't 12 AM midnight, rather
: than noon?
I anticipated this type of response when I fixed strptime(3) because neither
of the two PRs on this seemed to notice or fix the bug that 12 AM could
incorrectly be represented as hour 12.
strptime() isn't standardized (yet?), AFAIK.
-- Todd Vierling (Personal email@example.com; Bus. firstname.lastname@example.org)