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