前端
This commit is contained in:
parent
92d69fe61a
commit
57e5019ed8
@ -2248,9 +2248,12 @@ if ($act == 'newevent') {
|
||||
endmonth = endmonth+24*60*60 - 1
|
||||
// const endmonth = new Date(new Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000 - 1;
|
||||
|
||||
// var endmonth = Date.parse(new Date())/1000
|
||||
// endmonth = endmonth - (endmonth%86400)+57600
|
||||
// console.log(endmonth)
|
||||
var endmonth2 = Date.parse(new Date())/1000
|
||||
endmonth2 = endmonth2 - (endmonth2%86400)+57600
|
||||
if(endmonth >= endmonth2){
|
||||
endmonth = endmonth2
|
||||
}
|
||||
console.log(endmonth)
|
||||
$.ajax({
|
||||
url: './?app=pmcalendar&act=getEvents',
|
||||
dataType: 'json',
|
||||
|
Loading…
Reference in New Issue
Block a user