If you are familiar with PHP you can try to edit the ezdate datatype directly to make your change - or perhaps create a new datatype from a copy of ezdate (recommended). The datatype is in kernel/classes/datatypes/ezdate/
Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
The output of the date datatype is controlled by the template content/datatype/view/ezdate.tpl (in design/standard/templates). Copy it to your own design and change the contents. Example code:
Also to clear up some misunderstandings in your code.
The expression $Child:item.data_map.data will return an object of the type eZContentObjectAttribute and cannot be converted directly to a date string. The datetime (or l10n(date) ) operator will only work on timestamps which are simple integers (number). And also the ; (semicolon) after your string will probably make the template parser complain.
I've got, somewhat, the same problem. I am listing out some articles, and I wish to show when they where published. I have a datefield in my class which is called "publisert". I use this: {$Child:item.data_map.publisert}, but this gives me a date in 1970!?!