In ExtJS it's
but that results in a "Uncaught TypeError: Property 'log' of object #<Object> is not a function" in sencha-touch-all-debug-w-comments.js:22810Code:{end_date:date("Y")}
Printable View
In ExtJS it's
but that results in a "Uncaught TypeError: Property 'log' of object #<Object> is not a function" in sencha-touch-all-debug-w-comments.js:22810Code:{end_date:date("Y")}
It looks like we might have missed this functionality in the preview release. Expect this to be part of one of the upcoming releases.
Thanks for the info!
You can format the date yourself inside XTemplate by binding your data like this:
Code:{[values.end_date.format('Y')]} // works in Sencha Touch 1.0
{[Ext.Date.format(values.end_date, 'Y')]} // works in Sencha Touch 2.0 (dev preview)