瀏覽代碼

update utils.js

DevYK 2 年之前
父節點
當前提交
633b4242b2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      model/utils.js

+ 2 - 1
model/utils.js

@@ -127,7 +127,8 @@ function getTimestamp() {
 }
 
 function getCurrentDate() {
-    return moment().locale('zh-cn').format('YYYY-MM-DD HH:mm:ss');
+    // return moment().locale('zh-cn').format('YYYY-MM-DD HH:mm:ss');
+    return moment().locale('zh-cn').format();
 
     // var now = new Date(getTimestamp()),
     //     y = now.getFullYear(),