6 Jun
2000
6 Jun
'00
4:56 p.m.
<dtml-var "_.DateTime()" fmt="%d %B %Y"> ...works fine <dtml-var "_.DateTime()" fmt='%d %B %Y'> ...barfs with a 'Document Template Parse Error': Invalid attribute name, "%B", for tag <dtml-var "_.DateTime()" fmt='%d %B %Y'>, on line 5 of index_html weird huh? ideas anyone? cheers, Chris
6 Jun
6 Jun
5:15 p.m.
New subject: [Zope] fmt weirdness
----- Original Message ----- From: Chris Withers <chrisw@nipltd.com>
<dtml-var "_.DateTime()" fmt="%d %B %Y">
...works fine
<dtml-var "_.DateTime()" fmt='%d %B %Y'>
...barfs with a 'Document Template Parse Error':
The dtml parser only likes double-quoted attribute values. It sees the above as having attributes "fmt='%d", "%B", and "%Y'". Cheers, Evan @ digicool & 4-am
9435
Age (days ago)
9435
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chris Withers -
Evan Simpson