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. --Rob
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
At 09:00 17/09/99 , Joachim Schmitz wrote:
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.
Could you do just a <dtmml-var "ZopeTime('1999-09-01')">? Look at the timezone. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
On Fri, 17 Sep 1999, Martijn Pieters wrote:
At 09:00 17/09/99 , Joachim Schmitz wrote:
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.
Could you do just a <dtmml-var "ZopeTime('1999-09-01')">? Look at the timezone.
That results in 1999/09/01 Gruß Joachim Schmitz WWW-Consultant email: js@ac-copy.net tel: +49-241-89491-0 fax: +49-241-89491-29
participants (3)
-
Joachim Schmitz -
Martijn Pieters -
Rob Page