前端
This commit is contained in:
parent
882482678e
commit
5d2b3c5d84
@ -2245,7 +2245,9 @@ if ($act == 'newevent') {
|
|||||||
// var monthEndDate = new Date(time.getFullYear(), time.getMonth() + 1, 0);
|
// var monthEndDate = new Date(time.getFullYear(), time.getMonth() + 1, 0);
|
||||||
// var endmonth=Date.parse(monthEndDate)/1000;//s
|
// var endmonth=Date.parse(monthEndDate)/1000;//s
|
||||||
// endmonth = endmonth+24*60*60 - 1
|
// endmonth = endmonth+24*60*60 - 1
|
||||||
const endmonth = new Date(new Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000 - 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
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: './?app=pmcalendar&act=getEvents',
|
url: './?app=pmcalendar&act=getEvents',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
|
Loading…
Reference in New Issue
Block a user