----- Original Message -----
From: Chris Withers <[EMAIL PROTECTED]>
> <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


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to