mitchellsimoens
23 Oct 2010, 6:45 AM
I'm trying to format a date within my XTemplate doing this:
new Ext.XTemplate(
'<tpl for=".">',
'<div>{end_date:date("Y")}</div>',
'</tpl>'
)
but it is still printing out the regular date object sting. I have searched for this and it seems that other people are using this so I'm confused.
new Ext.XTemplate(
'<tpl for=".">',
'<div>{end_date:date("Y")}</div>',
'</tpl>'
)
but it is still printing out the regular date object sting. I have searched for this and it seems that other people are using this so I'm confused.