close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 17 years ago

Closed 17 years ago

#9 closed defect (fixed)

parse-time mishandles invalid number of days in a month

Reported by: Raymond Toy Owned by: somebody
Priority: minor Milestone:
Component: Core Version: 19d
Keywords: Cc:

Description

(format-universal-time t (parse-time "Feb 31 2000")) ->
Thursday, 3/2/00 12:00:00 am EST

parse-time doesn't check to see if the day number makes sense for the given month.

If this is fixed, don't forget that the number of days in February depends on if it's a leap year or not.

Change History (1)

comment:1 Changed 17 years ago by Raymond Toy

Resolution: fixed
Status: newclosed

Fixed, after 2007-05 snapshot.

Note: See TracTickets for help on using tickets.