I have to use fullCalendar.
(我必须使用fullCalendar。)
The problem is my event's end date is 28-11-2019
but in the calendar it displays as 27-11-2019
.
(问题是我的活动的结束日期是28-11-2019
但是在日历中它显示为27-11-2019
。)
What is the solution?
(解决办法是什么?)
<script>
$(document).ready(function () {
var calendar = $('#calendar').fullCalendar({
editable: false,
events: "php/fetch-event.php",
eventOrder:('-batch'),
displayEventTime: false,
eventRender: function (event, element) {
if (event.batch === 'morning') {
element.css('background-color', '#7cbfe5');
}
else {
element.css('background-color', '#9fe78d');
}
},
});
});
</script>
ask by Ravi Prasad translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…