Opened 5 years ago

#10906 new bug

strptime doesn't accept dates very far in the past.

Reported by: pulkomandy Owned by: zooey
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


It is not possible to parse "Fri, 13-Dec-101 20:45:51" (notice the year). Linux implementation accepts this, and sets the tm_year to a negative value.

Attachments (1)

test.c (325 bytes) - added by pulkomandy 5 years ago.
Test for parsing year 101 with strptime.

Download all attachments as: .zip

Change History (1)

Changed 5 years ago by pulkomandy

Attachment: test.c added

Test for parsing year 101 with strptime.

Note: See TracTickets for help on using tickets.