Date pb ???

Author Message

Patrice DUCLAUD

Tuesday 26 April 2005 5:42:00 am

Hello,

I've problem to display date in my templates.
all date updated in my site are shown with the value of 01/01/1970.
{$node.object.data_map.date_upadted|l10n(shortdate)}
when date_updated is 01/01/2005, the code show is 01/01/70.
no problem with currentdate().

Is there somebody who know what's wrong in my template or in parameters files ?

Thanks ...

Tuesday 26 April 2005 6:14:54 am

I'm using

{$node.object.data_map.dato.data_int|l10n( 'shortdate')}

and it works great. Using version 3.5.2

Patrice DUCLAUD

Tuesday 26 April 2005 6:39:35 am

Now i will use too :-)
and it works great. (Using version 3.5.0)

Thank you very much ....

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.