Forums / Setup & design / Wrong Attribute Date Time value return / Comment23739
Claudia Kosny
Saturday 06 January 2007 8:51:09 am
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