Author Topic

Bruce Morrison

Friday 23 May 2003 6:53:44 pm

Comment37890

Hi Mario

Try
{$content_version.data_map.published.data_int|datetime(custom,"%d %m %Y")}

{attribute_view_gui attribute=$content_version.data_map.published|datetime(custom,"%d %m %Y")}

doesn't work as the attribute_view_gui returns the formated datetime and the datetime function expects an interger as a parameter.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish