[Zope] Format problem in Squishdot 1.0.0

bak (kedai) kedai@kedai.com.my
Wed, 4 Apr 2001 16:00:49 +0800


On Thursday 05 April 2001 15:43, F. Zorge wrote:
> Hi,
>
> I am using Squishdot 1.0.0.
> I have translated all of the content to Dutch, and I have two
> questions/problems:
>
> 1. I want the data format to be European like 31-12-2001 in stead of
> 12-31-2001.But it seems not possible to format the standard variable
> <dtml-var date_created> in European style. I tried <dtml-var date_created
> frm="%d/%m/%Y"> and several other compositions but I keep getting error
> messages, like "not alle converted" or key-error. Does anyone know how to
> format this Squishdot date?
>

this may just be a stab in the dark, but if date_created is a string
<dtml-var "ZopeTime(date_created')" fmt=%d/%m/%Y>
would work
(untested)

-----------8<-------------------
http://www.kedai.com.my/kk
http://www.kedai.com.my/eZine
http://www.zope.org/members/kedai

How can I laugh tomorrow, if i can't even smile today.