[Zope] Re: ZopeTime

Joachim Schmitz perry@ac-copy.net
Fri, 17 Sep 1999 09:00:13 +0200 (CEST)


On Wed, 15 Sep 1999, Rob Page wrote:

> > what is this ?
> > <dtml-var "_.DateTime('1999-09-11') + 5" fmt="%m/%d/%y">
> > 
> > gives me: 09/10/99
> >              ^^
> 
> That's odd.. It gives me 09/16/1999 as expected.
> 

first my example must read:

<dtml-var "_.DateTime('1999-09-11')" fmt="%m/%d/%y">

then when I use this on my personal page on zope.org, I get the expected:  
09/11/1999

But when I execute it on my Sun in Germany I get:  09/10/1999. It´s very
intelligent: <dtml-var "_.DateTime('1999-09-01')" fmt="%m/%d/%y">

gives 08/31/1999. 


Gruß

Joachim Schmitz

WWW-Consultant

email: js@ac-copy.net
tel: +49-241-89491-0
fax: +49-241-89491-29