Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
4e0ef0c2
Commit
4e0ef0c2
authored
Nov 19, 2019
by
任建
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'embed_applications' of gitlab.gongsibao.com:jiangyong/zhichan into embed_applications
parents
38f6ba59
84000fca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
embed_applications/app/base/controller/impl/tmquery/tmqueryCtl.js
+4
-3
No files found.
embed_applications/app/base/controller/impl/tmquery/tmqueryCtl.js
View file @
4e0ef0c2
...
@@ -33,10 +33,10 @@ class tmqueryCtl extends CtlBase {
...
@@ -33,10 +33,10 @@ class tmqueryCtl extends CtlBase {
return
""
;
return
""
;
}
}
var
date
=
new
Date
(
Number
(
time
*
1000
));
var
date
=
new
Date
(
Number
(
time
*
1000
));
var
month
=
date
.
getMonth
();
var
month
=
date
.
getMonth
()
+
4
;
var
year
=
date
.
getYear
();
var
year
=
date
.
getYear
();
if
(
month
>
8
){
if
(
month
>
12
){
month
=
month
-
8
;
month
=
month
-
12
;
year
=
year
+
1
;
year
=
year
+
1
;
}
}
var
y
=
1900
+
year
;
var
y
=
1900
+
year
;
...
@@ -1969,6 +1969,7 @@ class tmqueryCtl extends CtlBase {
...
@@ -1969,6 +1969,7 @@ class tmqueryCtl extends CtlBase {
var
notice_issue
=
buck
.
notice_issue
;
var
notice_issue
=
buck
.
notice_issue
;
var
date
=
that
.
convertDate
(
buck
.
date
);
var
date
=
that
.
convertDate
(
buck
.
date
);
var
enddate
=
that
.
convertDate1
(
buck
.
date
);
var
enddate
=
that
.
convertDate1
(
buck
.
date
);
console
.
log
(
date
+
";+++++++++++++++++++++++++"
+
enddate
);
var
sdate
=
new
Date
();
var
sdate
=
new
Date
();
var
now
=
new
Date
(
enddate
);
var
now
=
new
Date
(
enddate
);
var
days
=
now
.
getTime
()
-
sdate
.
getTime
();
var
days
=
now
.
getTime
()
-
sdate
.
getTime
();
...
...
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