Author Topic

Claudia Kosny

Saturday 06 January 2007 8:51:09 am

Comment23739

Hi Luca

As you can see here http://ez.no/doc/ez_publish/technical_manual/3_8/reference/datatypes/date_and_time , the content of a attribute of type 'date and time' returns an object of type 'ezdatetype'. This object has an attribute 'timestamp' which you can use as input for the l10n operator.

So just use

{$node.object.data_map.data.content.timestamp|l10n( 'shortdatetime' )}

and it should work.

Claudia