moment.js 将毫秒转换为日文日期

moment.js converts milliseconds into japanese date

我正在尝试使用 moment.js 将日期从毫秒转换为 ddd Do MMMM YYYY, HH:mm:ss。数据是从数据库中检索的,结果以毫秒为单位

MySQLtable值2012-12-11 09:24:15 Json 值 1355217855000

数据table渲染

render: function (data) {
    return moment(data).format('ddd Do MMMM YYYY, HH:mm:ss');
}

我希望是这样的 Tue 11th Dec 2012, 09:24:15 但我的结果是 週二 11日 十二月 2012, 09:24:15

有什么原因吗?

编辑

我正在使用 moment-with-locales.js

只需将 moment.locale('en'); 添加到您的脚本中,JSFiddles here

moment.locale('en');
var d = moment('2012-12-11 09:24:15').format('ddd Do MMMM YYYY, HH:mm:ss');
console.log(d);