Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
fc144a45
Commit
fc144a45
authored
Jul 02, 2020
by
panpp
Browse files
修复了ms.util的时间格式化默认格式问题
parent
c4bcf2b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/static/plugins/ms/1.0.0/ms.util.js
View file @
fc144a45
...
...
@@ -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
,
//月份
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment