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 [EMAIL PROTECTED] wrote:
I am trying to format a dtml-var date by
On Mon, 2005-08-29 at 14:51 +0100, Peter Bengtsson wrote:
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')
this gives the following error:
That means that 'foo' is NOT a DateTime object like ZopeTime is.
On 8/29/05, garry saddington [EMAIL PROTECTED] wrote:
On Mon, 2005-08-29 at 14:51 +0100, Peter Bengtsson wrote:
If dtml-var ZopeTime fmt=Day but
dtml-var foo fmt=Day doesn't then there's nothing wrong with how
you're using