Minor change in a comment to be more relevant.

This commit is contained in:
oxteam 2018-06-26 10:38:51 +02:00 committed by Alex Tselegidis
parent 8ca935c412
commit 1f70bc7dc2

View file

@ -875,7 +875,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
var extraWorkingPlan = jQuery.parseJSON(provider.settings.extra_working_plan); var extraWorkingPlan = jQuery.parseJSON(provider.settings.extra_working_plan);
var unavailablePeriod; var unavailablePeriod;
// Sort the working plan starting with the first day as set in General settings to correctly align breaks in the calendar display // Sort the working plan starting with Sunday as the first weekday to correctly align breaks in the calendar display
workingPlan = GeneralFunctions.sortWeekDict(workingPlanBulk,0); // 0 is the ID for Sunday workingPlan = GeneralFunctions.sortWeekDict(workingPlanBulk,0); // 0 is the ID for Sunday
switch (calendarView) { switch (calendarView) {