[Zope] Calendar tag 0.9.5 buglet
Ibaņez Palomar Juan David
al028823@alumail.uji.es
Wed, 26 Jan 2000 11:33:56 +0100 (NFT)
Thanks for the info,
Now it's fixed (in a different way) in the new release.
>
> A very minor misfeature to fix for the next release.
>
> line 246 of CalendarTag.py has
>
> s = s + '<font color="%(leftfgcolor)s">'
>
> which renders literally since leftfgcolor is not in the namespace. It
> makes all the month names in the year view a ghastly green on my
> machine.
>
> Change it to
> s = s + '<font color="%s">' % v['leftfgcolor']
> and it works better.
>
> Interesting that the %(foo)s syntax can hide bugs this way....??
>