Explorar el Código

update utils.js

DevYK hace 2 años
padre
commit
633b4242b2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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(),