[Zope] Date formatting problems

Chris Withers chrisw@nipltd.com
Thu, 14 Jun 2001 15:29:59 +0100


Craig Stoddart wrote:
> 
> I think this is where the problem is - the variable <dtml-var date_created>
> used in Squishdot Sites seems to be stored as a string rather than as a
> DateTime Object. Is there any way I can convert it to dd/mm/yyyy format even
> though it is a string?

Read the changes for version 1.1.0 at:
http://www.squishdot.org/Documentation/Changes

date_created is near useless ;-)

Use 

<dtml-var "date_posted('%d/%m/%Y'">

or

<dtml-var date fmt="%d/%m/%Y">

When you're done, could you write a How-To on this and post it to Squishdot.org?
:-)

cheers,

Chris