[Zope] Bug in dtml-calendar 1.0.12 (Stable)

Heimo Laukkanen huima@fountainpark.org
Sat, 02 Mar 2002 20:20:47 +0200


Hi,

I just noticed that dtml-calendar tag shows calendar wrong
, if you set set weekdays to 15 in month mode. What it is supposed to
do, is draw the calendar with only the weekdays present -- which it
actually does -- but it just jumps over weekends. Meaning today is 2 nd
of March saturday, but the calendar shows it as a monday.

<dtml-calendar controls=no modes="month" bgcolor="#DDDDDD" lang=fi
weekdays="15" tablewidth=200>
...
</dtml-calendar>

If you set weekdays to 17 everything works just fine. 

Has anyone else seen the same behaviour?

-huima