소스 검색

修复了ms.util的时间格式化默认格式问题

panpp 5 년 전
부모
커밋
fc144a457d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/webapp/static/plugins/ms/1.0.0/ms.util.js

+ 1 - 1
src/main/webapp/static/plugins/ms/1.0.0/ms.util.js

@@ -62,7 +62,7 @@
         fmt: function(de, fmt) {
             var date = new Date(typeof de == "string"?de.replace(/-/g, "/"):de);
             if (!fmt) {
-                fmt = "yyyy-mm-dd";
+                fmt = "yyyy-MM-dd";
             }
             var o = {
                 "M+": date.getMonth() + 1, //月份