我有一个文本字段:
xtype: "fieldset",
items:[
{
xtype: "textfield",
name: "dateScanned",
label: "Datum",
disabled: true,
tpl: "{dateScanned:date('d/m/Y H:i')}" // <--- this dosn't work
}
]
我的商店是:
fields: [
{ name: 'dateScanned', type: 'date', dateFormat: 'c' }
]
为什么标记点不起作用?我怎样才能意识到日期是格式化的?