I have a problem with formatting the date of publication of the news. I've created an attribute "date_publication".
In the template to manage posting, I have the following line: {attribute_view_gui attribute=$node.object.data_map.date_publication} which posts me the date with the english format 2005.05.27.
I wish to post it in french format like that: 12 mai 2005.
By using the filter {attribute_view_gui attribute=$node.object.data_map.date_publication|datetime(' custom', ' %d %F %Y')} nothing appear.
From http://www.ez.no/ez_publish/documentation/development/libraries/ez_template/operators/miscellaneous
If you need to access the date of a "ezdate" attribute, you must use
{$node.object.data_map.datum.data_int} to get the unix timestamp ("datum" is the attribute identifier)
Of course, you don't want to print the timestamp, so do something like this:
{$node.object.data_map.datum.data_int|l10n(shortdate)} to get a nice, localized daten print