If <dtml-var ZopeTime fmt="Day"> but <dtml-var foo fmt="Day"> doesn't then there's nothing wrong with how you're using the fmt parameter but something is wrong with "foo". Try:: <dtml-var "foo.strftime('Day')"> On 8/29/05, garry saddington <garry@schoolteachers.co.uk> wrote:
I am trying to format a dtml-var date by using fmt=Day <dtml-var foo fmt="Day"> returns error: Error Type: TypeError Error Value: not all arguments converted during string formatting
while <dtml-var ZopeTime fmt="Day"> works fine.
The date is International format and I have Zope set up to parse international dates. Does anyone know where I am going wrong? regards garry
_______________________________________________ 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 )
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com