This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10394] New: strptime() has harder restriction for field year than documented
- From: "artem dot levenkov at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Jul 2009 10:18:26 -0000
- Subject: [Bug libc/10394] New: strptime() has harder restriction for field year than documented
- Reply-to: sourceware-bugzilla at sourceware dot org
>From http://www.gnu.org/software/libc/manual/html_mono/libc.html, 21.4.6.1, for
'%y' specification:
The strptime function does regard input values in the range 68 to 99 as the
years 1969 to 1999 and the values 0 to 68 as the years 2000 to 2068.
But realy, dates greater than 2037 or lower than 1902 lead to error (on getdate
() - error #7, "The template file contains no matching template.").
--
Summary: strptime() has harder restriction for field year than
documented
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: artem dot levenkov at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10394
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.