소스 검색

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(),