[Zope] Format date fields
Andrew Milton
akm at theinternet.com.au
Thu Jan 13 19:44:40 EST 2005
+-------[ Zorze ]----------------------
| Andrew Milton wrote:
|
| >+-------[ Zorze ]----------------------
| >| Thank you Andrew. :-)
| >|
| >| But it give me another an error :-(
| >|
| >| Error Value: You are not allowed to access strftime in this context
| >
| >hrm.
| >
| >What DB are you using?
| >
| >
| >
|
| Firebird
It's possible the Firebird adapter sends the dates come back as strings..
try;
<dtml-var "ZopeTime(theDate).strftime('%F')">
otherwise I'm out of ideas for now d8)
--
Andrew Milton
akm at theinternet.com.au
More information about the Zope
mailing list