[Zope] Using Date format string
Jim Sanford
jsanford@atinucleus.com
Fri, 3 Mar 2000 11:56:46 -0600
The "%d-%B-%Y" formatting converts to Zulu time (GMT).
----- Original Message -----
From: Shalabh Chaturvedi <shalabh@pspl.co.in>
To: zope <Zope@zope.org>
Sent: Friday, March 03, 2000 11:19 AM
Subject: [Zope] Using Date format string
Reading the howto:
http://www.zope.org/Members/AlexR/CustomDateFormats
I tried this:
<dtml-let d="_.DateTime('2000/02/21')">
<dtml-var d>
<br>
<dtml-var d fmt="%d-%B-%Y">
</dtml-let>
The surpizing output:
2000/02/21
20-February-2000
The question thus:
Why are the two different?
Anyone?
Thanks,
Shalabh
_________________________
Shalabh Chaturvedi
Persistent Systems Private Limited
Pune, India
email: shalabh@pspl.co.in
url: http://www.eusersolutions.com
ICQ: 43284067
_______________________________________________
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 )