Marcus Mendes writes:
> Why the ZopeTime puts the differents values in the code bellow?
>
> <dtml-with ZopeTime>
> <dtml-var "'This is %s, %s/%s/%i , %s' % (Day(), dd(), mm(), year(),
> TimeMinutes())" capitalize>
> <dtml-var " '%s' % strftime('%A')" capitalize>
> </dtml-with>
>
> The first <dtml-var ...> give me todays date;
> the second <dtml-var ...> give me the tomorrow date!!
In earlier Zope versions, most methods of "DateTime" instances
used local time, but "strftime" used GMT.
As I understand it, this has been changed in Zope 2.2.
At least, Brian asked in the list, whether it should be changed
and got some positive feedback.
Dieter
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )