It's not a bug, that's what the JavaScript Date object does. I don't
see a particularly good reason to "fix" this.

-bob


On 12/11/06, Nirmal <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>   I noticed that the date library in MochiKit behaves differently,
>
>  isoDate('2006-34-34') gives Mon Nov 03 2008 00:00:00 GMT+0530 (India
> Standard Time)
>
> The month and date values above are invalid. But it ads up to the date
> value, its like find the date of the day that is 34 months and 34 days
> after 2006-Jan'01. But the ISO 8601 spec specifies a limit on the
> values ->
>
>  MM   = two-digit month (01=January, etc.)
> DD   = two-digit day of month (01 through 31)
>
> So is this a bug in mochikit? I will be happy to fix it.
>
> ~
> Prathap
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to