Forums / Setup & design / Date format / Comment14908
Trond Åge Kvalø
Wednesday 03 March 2004 1:59:53 am
I have the same problem here, and I can't find any documentation on how to show the date I've stored as a date datatype in my class.
The only reference I've found is {$date|datetime(custom,"%m %y")} to use a custom formatting and I've found a page that describes the different formatting characters. But I don't know what the $date variable in this statement is.
Using Francesc's example, is it $node.object.data_map.data? or is it $node.object.data_map.data.content, and do we need to use attribute_view_gui attribute=$whatever_"$date"_is to display the date correctly or can we display it using for instance $node.object.data_map.data|datetime( 'custom', '%d.%m.%Y') ?
Lot's of questions there, but if someone knows, please tell me.
Best regardsTrond Kvalo
trondåge