Hi,

Funny little assumption in DateField's stringToDate function:

        if (yearString.length == 2 && yearNum < 70)
            yearNum+=2000;

So if you enter a two digit year 70 or above it thinks it's 1st century AD (?) 
and below 70 and it's the 21st century! Just what you need for date of birth 
fields :-)

I think more reasonable way of doing this is have a defaultCentury and set that 
to 1900 or 2000? Any other ideas?

Thanks,
Justin

Reply via email to