> > Unfortunately the editwizards do not allow to enter 29 once you have
> > selected february.
> >
> > Is their a quick way to disable the date checking in the editwizards?
>
> The algoritm for determining if year is a leap year (?) is not that
> complicated, and I'd say we could as well solve it decently.
It indeed is called 'leap year'. I've had a quick peek at the
'validator.js' and the problem appears to lie within the Javascript 'Date'
object:
date.setMonth(month, day);
date.setFullYear(year);
date.setHours(hours, minutes);
If you put the values 'day=29', 'month=1', 'year=2004', it evaluates to
'Monday, March 01, 2004' (the monday is correct actually!). (note: days
count from 1, months from 0).
We probably need a fix around this for leapyears?
Johannes
--
[EMAIL PROTECTED] | It is always possible to aglutenate multiple
[EMAIL PROTECTED] | seperate problems into a single complex inter-
PGP ID: 0xFED127BD | dependent solution. In most cases this is a
| bad idea. (RFC 1925, Truth 5)