Browse Source

update utils.js

DevYK 2 years ago
parent
commit
633b4242b2
1 changed files with 2 additions and 1 deletions
  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(),