Forums / Developer / How do I change the date _datatype_ format?

How do I change the date _datatype_ format?

Author Message

Sander Jansen

Friday 22 August 2003 7:56:57 am

How do I change the date format on a date object used in a certain class? i.e I have a $content_version.data_map.date, and I use the attribute_view_gui to show it, but it shows year.month.day and I want it to show day-month-year...

string handlers don't work here

Jan Borsodi

Thursday 28 August 2003 5:37:25 am

You can create an override for the template
design/standard/templates/content/datatype/view/ezdate.tpl
which controls the look of the datatype.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq