Commit 4e0ef0c2 by 任建

Merge branch 'embed_applications' of gitlab.gongsibao.com:jiangyong/zhichan into embed_applications

parents 38f6ba59 84000fca
......@@ -33,10 +33,10 @@ class tmqueryCtl extends CtlBase {
return "";
}
var date = new Date(Number(time*1000));
var month = date.getMonth();
var month = date.getMonth()+4;
var year = date.getYear();
if(month>8){
month = month-8;
if(month>12){
month = month-12;
year = year+1;
}
var y = 1900+year;
......@@ -1969,6 +1969,7 @@ class tmqueryCtl extends CtlBase {
var notice_issue = buck.notice_issue;
var date = that.convertDate(buck.date);
var enddate = that.convertDate1(buck.date);
console.log(date+";+++++++++++++++++++++++++"+enddate);
var sdate = new Date(); 
     var now = new Date(enddate); 
     var days = now.getTime() - sdate.getTime(); 
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment