Browse Source

Fix date format wrong

master
Menci 8 years ago
parent
commit
3bdabd7fa1
  1. 2
      utility.js

2
utility.js

@ -92,7 +92,7 @@ module.exports = {
}, },
formatDate(ts, format) { formatDate(ts, format) {
let m = moment(ts * 1000); let m = moment(ts * 1000);
m.locale('zh-cn'); m.locale('eu');
return m.format(format || 'L H:mm:ss'); return m.format(format || 'L H:mm:ss');
}, },
formatTime(x) { formatTime(x) {

Loading…
Cancel
Save