I tried it with double quotes and got the same error. The "%A" appears to be valid as well: http://www.zopelabs.com/cookbook/990690237 I had read something where dates in ZWiki need to be in the format of EST rather than Eastern Standard Time? My dates currently look like this: 2002/01/05 16:13:00 US/Eastern. Thanks. Tom ----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: "Tom Scheidt" <tscheidt@nyc.rr.com>; <zope@zope.org> Sent: Tuesday, July 29, 2003 12:14 AM Subject: Re: [Zope] Funky dates
maybe because the format string should be in double quotes (as documented) or maybe because %A is not valid (check the strftime docs).
-aj
--On Montag, 28. Juli 2003 23:21 Uhr -0400 Tom Scheidt <tscheidt@nyc.rr.com> wrote:
Hi All,
I just imported an old Zope folder with a bunch of DTML Documents into Zope 2.6.1. I need to sort them by date, but the modification date has changed on all of them to today. But, all of the Documents have date property, unfortunately, the date property is not behaving like one anymore. If I try to use <dtml-var date fmt=pCommon> I get:
Error Type: TypeError Error Value: not all arguments converted
If I try to use <dtml-var date fmt=%A> I get:
Error Type: ValueError Error Value: unsupported format character 'A' (0x41) at index 1
Anyone recognize the problem or know a fix? Thanks in advance. ---------------------------- Tom Scheidt tscheidt@nyc.rr.com ----------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )