//json时间转为 标准时间格式
function JSONDateToJSDate(JSONDateString) {
if (JSONDateString != undefined) {
var date = new Date(parseInt(JSONDateString.replace("/Date(", "").replace(")/", ""), 10));
var hh = date.getHours();
var mm = date.getMinutes();
var ss = date.getSeconds();
var yy = date.getFullYear();
var MM = date.getMonth() + 1;
var dd = date.getDate();
if (hh == 0 && mm == 0 && ss == 0) {
return yy + "-" + MM + "-" + dd;
}
else {
return yy + "-" + MM + "-" + dd + " " + hh + ":" + mm + ":" + ss;
}
}
}