Ext 4.2.1 模型日期解析跨浏览器不一致

Ext 4.2.1 Model date parsing inconsistent across browsers

我已经在 Ext JS 4.2.1 中声明了一个类型为 "date"

的模型

我正在插入一条值为“2016-04-07 22:46:15.000”的记录

在 Chrome 中,值被正确解析(并显示)。 在 IE11 和 Firefox 中,该值会自动从记录中删除。

我这里有一个最小的例子:

Ext.onReady(function(){

Ext.define('Customer', {
    extend : 'Ext.data.Model',
    fields : [ { name:'contract_start', type:'date'} ]
});

Ext.create('Ext.data.Store', {
    storeId:'customerStore',
    model:'Customer',
    data:{'items':[
        { 'contract_start': "2016-04-07 22:46:15.000" }
    ]},
    proxy: {
        type: 'memory',
        reader: {
            type: 'json',
            root: 'items'
        }
    }
});

Ext.create('Ext.grid.Panel', {
    store: Ext.data.StoreManager.lookup('customerStore'),
    columns: [
        { dataIndex: 'contract_start', flex: 1 }
    ],
    height: 200,
    width: 400,
    renderTo: 'target'
});


});

[JS Fiddle | https://jsfiddle.net/jnj3j7r2/]

这是 Ext JS 4.2.1 中的已知错误吗? 是否有任何已知的变通方法或可以尝试的方法?

它包含在 documentation:

It is quite important to note that while this config is optional, it will default to using the base JavaScript Date object's parse function if not specified, rather than Ext.Date.parse. This can cause unexpected issues, especially when converting between timezones, or when converting dates that do not have a timezone specified. The behavior of the native Date.parse is implementation-specific, and depending on the value of the date string, it might return the UTC date or the local date. For this reason it is strongly recommended that you always specify an explicit date format when parsing dates.