0
我在我的項目中實現了fullcalendar,它的工作原理就像一個魅力。Fullcalendar:事件源12小時數據
但是我們在使用24小時格式的時間格式中發生了一些變化,但現在我們使用了12小時格式。我只是想知道事件源。
fullcalendar是否支持以12小時格式添加事件,如04:00 PM?
目前,它可以添加和查看這樣
$scope.events = [{
title: 'Move or Resize me',
start: new Date(y, m, d, 11, 10),
end: new Date(y, m, d, 14, 20)
}];
在結束時間
數據看14:20(平均2:20 PM),所以我想添加類似
$scope.events = [{
title: 'Move or Resize me',
start: new Date(y, m, d, 11, 10),
end: new Date(y, m, d, 02, 20,PM) // Something like this?
}];