Bläddra i källkod

update utils.js

DevYK 2 år sedan
förälder
incheckning
633b4242b2
1 ändrade filer med 2 tillägg och 1 borttagningar
  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(),