[dev] Off-by-one in Kronolith new-event JavaScript

Chuck Hagenbuch chuck@horde.org
Sun Oct 27 02:45:16 2002


Quoting John Morrissey <jwm@horde.net>:

> Looks like there's an off-by-one error - Date.UTC() expects a zero-based
> month. It tries to generate the date "31 Nov", which it wraps to 1
> December, causing the problem above. The patch below seems to fix it; 
> it's been tested with Mozilla 1.2b and IE 5.2 under Mac OS X.

Verified and committed, thanks.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers