Added now indication and changed snap duration

This commit is contained in:
Alex Tselegidis 2020-12-08 09:36:46 +02:00
parent 9e116623dc
commit 0e9758372d
2 changed files with 4 additions and 2 deletions

View file

@ -1408,11 +1408,12 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
// Initialize page calendar
$('#calendar').fullCalendar({
nowIndicator: true,
defaultView: defaultView,
height: getCalendarHeight(),
editable: true,
firstDay: firstWeekdayNumber,
snapDuration: '00:30:00',
snapDuration: '00:15:00',
timeFormat: timeFormat,
slotLabelFormat: slotTimeFormat,
allDayText: EALang.all_day,

View file

@ -697,11 +697,12 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
defaultView: 'agendaDay',
height: getCalendarHeight(),
editable: true,
firstDay: firstWeekdayNumber,
timeFormat: timeFormat,
slotLabelFormat: slotTimeFormat,
allDaySlot: true,
columnFormat: columnFormat,
firstDay: firstWeekdayNumber,
snapDuration: '00:15:00',
header: {
left: 'listDay,agendaDay',
center: '',