[Zope] date-format

Jens Vagelpohl tommymi@concentric.net
Mon, 29 Nov 1999 10:19:26 -0500


i actually came against the same problem, an added day. this happens using

<dtml-var ZopeTime fmt="%m/%d/%y">

hm... i have the feeling the formatting is doing something strange. anyone
have an inkling of what is happening (or how to get around it ;)

jens



-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Martin Hofer
Sent: Monday, November 29, 1999 9:27 AM
To: zope@zope.org
Subject: [Zope] date-format


please help!

printing a date (choosen from a oracle-database) with <dtml-var
zeitstart> causes zope to type 1999/11/28.
but trying to format this field with <dtml-var zeitstart fmt="%d.%m.%Y">
results in the following output: 27.11.1999!!!!
but this is _really_ not the same day!! :-(

why???


lg

martin hofer

------------------------------------------
o      EDV-Referent an der HTU-GRAZ      o
------------------------------------------

Rechbauerstrasse 12
4010 Graz - Austria

mail: hofer@oeh.tu-graz.ac.at
tel: +43/0316 873-5109         |   _|_
fax: +43/0316 873-5115         |__  |
mobil: +43/0699-1016 1847      |  | | |  |
internet: oeh.tu-graz.ac.at    |  | | |__|


_______________________________________________
Zope maillist  -  Zope@zope.org
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 )