Subject: Re: lib/5183: strptime(3) still has a bug about "%I %p"
To: None <netbsd-bugs@NetBSD.ORG>
From: NAKAJIMA Yoshihiro <nakayosh@kcn.or.jp>
List: netbsd-bugs
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?
> 
> Correct.
> 
> 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'.

-- 
nakayosh@kcn.or.jp/NAKAJIMA Yoshihiro
PGP public key: <URL:http://www.kcn.or.jp/%7Enakayosh/nakayosh.pgp-public-key>