[cmucl-ticket] #9: parse-time mishandles invalid number of days in a month

cmucl cmucl-devel at common-lisp.net
Thu Apr 12 16:26:10 UTC 2007


#9: parse-time mishandles invalid number of days in a month
--------------------+-------------------------------------------------------
 Reporter:  rtoy    |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  minor   |   Milestone:          
Component:  Core    |     Version:  19d     
 Keywords:          |  
--------------------+-------------------------------------------------------
 {{{
 (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.

-- 
Ticket URL: <http://trac.common-lisp.net/cmucl/ticket/9>
cmucl <http://common-lisp.net/project/cmucl>
cmucl


More information about the cmucl-ticket mailing list