Code: Select all
data: {
table: document.getElementById('your_own_table_id_name'),
parseDate: function(val){
var matched;
if (typeof val === 'string') {
matched = val.match('^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$');
if (matched){
return Date.UTC(+matched[1], matched[2] - 1, +matched[3], +matched[4], +matched[5], +matched[6]);
}
}
}
},