Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/calendar/calendar-scheduler.xml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,16 @@
<category>Extra</category>
<description>Determines how far down the scroll pane is initially scrolled down. This option only applies to Agendaweek and AgendaDay views. Format: "08:00"</description>
</property>
<property key="minTime" type="string" required="false">
<caption>minTime</caption>
<category>Extra</category>
<description>Determines the first time slot that will be displayed for each day. (https://fullcalendar.io/docs/minTime)</description>
</property>
<property key="maxTime" type="string" required="false">
<caption>maxTime</caption>
<category>Extra</category>
<description>Determines the last time slot that will be displayed for each day. Specified as an exclusive end time. (https://fullcalendar.io/docs/maxTime)</description>
</property>
<property key="todayButton" type="boolean" defaultValue="true">
<caption>Show 'today' button</caption>
<category>Extra</category>
Expand Down
4 changes: 4 additions & 0 deletions src/calendar/widget/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,8 @@ define([
this.slotLabelFormat = this.axisFormat ? this.axisFormat : "h(:mm)a";
this.startTime = this.startTime ? this.startTime : "08:00";
this.endTime = this.endTime ? this.endTime : "17:00";
this.minTime = this.minTime ? this.minTime : "00:00:00";
this.maxTime = this.maxTime ? this.maxTime : "24:00:00";
},

_setCalendarOptions: function(events) {
Expand Down Expand Up @@ -650,6 +652,8 @@ define([
locale: this.languageSetting,
eventLimit: this.limitEvents,
scrollTime: this.scrollTime,
minTime: this.minTime,
maxTime: this.maxTime,
};

if (this.monthNamesFormat) {
Expand Down