Sync strptime with NetBSD:
authorPeter Avalos <pavalos@theshell.com>
Fri, 16 Jan 2009 23:45:43 +0000 (18:45 -0500)
committerPeter Avalos <pavalos@theshell.com>
Tue, 7 Apr 2009 07:08:37 +0000 (21:08 -1000)
commitd10ccf5c1c8c98b60d1fb8e3e5a16453a3de6239
treee1295f214985fa97e564f5424cc81fbe1f6750d3
parent7d013f9724346e48d5aa3e501e0bc081c73878d6
Sync strptime with NetBSD:

-A few code optimiztions.

-%y failed to subtract 1900 from tm_year

-%p (am/pm) only worked at the end of the string

-%E% was treated as %% (ie match a % character)

-Add support for %Z.

-Add %F the ISO 8601 date format which is equivalent to %Y-%m-%d.

-Add gnu extensions: %z, %g, %G, %u.

-Bring in NetBSD's strptime(3) manual page.
lib/libc/stdtime/strptime.3
lib/libc/stdtime/strptime.c