Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
cedf0e45
Unverified
Commit
cedf0e45
authored
Jul 09, 2019
by
老广
Committed by
GitHub
Jul 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2910 from jumpserver/bugfix
[Update] 修改日期显示差8小时
parents
c0cff6d1
05438baa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
asset_create.html
apps/assets/templates/assets/asset_create.html
+0
-1
jumpserver.js
apps/static/js/jumpserver.js
+2
-1
No files found.
apps/assets/templates/assets/asset_create.html
View file @
cedf0e45
...
...
@@ -137,7 +137,6 @@ $(document).ready(function () {
protocolRef
.
val
(
protocolShould
);
protocolRef
.
trigger
(
"change"
)
}
})
.
on
(
"click"
,
".btn-protocol.btn-del"
,
function
()
{
$
(
this
).
parent
().
parent
().
remove
();
...
...
apps/static/js/jumpserver.js
View file @
cedf0e45
...
...
@@ -1111,7 +1111,8 @@ function objectAttrsIsBool(obj, attrs) {
function
formatDateAsCN
(
d
)
{
var
date
=
new
Date
(
d
);
return
date
.
toISOString
().
replace
(
"T"
,
" "
).
replace
(
/
\.
.*/
,
""
);
var
date_s
=
date
.
toLocaleString
(
navigator
.
language
,
{
hour12
:
false
});
return
date_s
.
split
(
"/"
).
join
(
'-'
)
}
function
getUrlParams
(
url
)
{
...
...
Write
Preview
Markdown
is supported
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