/Date(****)/处理成中国时间

var d = new Date(parseInt(date.replace("/Date(", "").replace(")/", ""), 10));
return d.getFullYear() + '-' + (+d.getMonth() + 1) + '-' + d.getDate();

猜你喜欢

转载自blog.csdn.net/q411692787/article/details/50561653