Subject: Re: lib/5183: strptime(3) still has a bug about "%I %p"
To: None <netbsd-bugs@NetBSD.ORG>
From: NAKAJIMA Yoshihiro <email@example.com>
Date: 03/24/1998 06:54:33
On Sun, 22 Mar 1998 17:25:50 -0500 (EST)
Todd Vierling <tv@NetBSD.ORG> wrote:
> 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.
I'm so sorry. I thought that `12 AM' came one hour after `11 AM'.
PGP public key: <URL:http://www.kcn.or.jp/%7Enakayosh/nakayosh.pgp-public-key>