Ouch.
fixed in trunk for year>1900. The week-day will be wrong before that.

it should be easy to fix in general but we need a algorithm that tells
me which year between 2000 and 2006 has the same week-days as the
year<1900. The calendar was reformed in 1582 so I am not sure we
should support dates about before that.

On Mar 11, 1:56 pm, DenesL <[email protected]> wrote:
> The changes made to IS_DATE in rev.242 (workaround to problem with
> year<1900) are buggy.
>
> Example:
> requires=IS_DATE(format="%A") with today's date will show 'Saturday'
> instead of 'Thursday' because the formatter is changing the year to
> 2000.
>
> Denes.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.

Reply via email to