From 1f5e342226eea66bbb1e884a10da60bc83517935 Mon Sep 17 00:00:00 2001 From: kf_wuhao <15392746632@qq.com> Date: Fri, 15 Jan 2021 15:11:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=A0=BC=E5=BC=8F=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E8=8B=B9=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pmcalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmcalendar.php b/pmcalendar.php index 67500e0..06bec44 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -2001,7 +2001,7 @@ if ($act == 'newevent') { $("#endyear").val(time.getFullYear()); $("#endmonth").val(time.getMonth() + 1); - var start = time.getFullYear() + "-"+moment(time.getMonth() + 1).startOf("month").format("MM-DD")+" " + '00:00:00' + var start = time.getFullYear() + "/"+moment(time.getMonth() + 1).startOf("month").format("MM/DD")+" " + '00:00:00' var startdate = new Date(start); var startmonth = Date.parse(startdate)/1000;