From 3827641d721b834b1e6d5c67d5821076200c9e1d Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 12 Jan 2022 11:19:48 +0100 Subject: [PATCH] Update occurrences of the getWeekdayId method. --- assets/js/utils/working_plan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/utils/working_plan.js b/assets/js/utils/working_plan.js index 61ad59c7..b647b2a3 100755 --- a/assets/js/utils/working_plan.js +++ b/assets/js/utils/working_plan.js @@ -42,7 +42,7 @@ App.Utils.WorkingPlan = (function () { * @param {Object} workingPlan Contains the working hours and breaks for each day of the week. */ WorkingPlan.prototype.setup = function (workingPlan) { - const weekDayId = App.Utils.Date.getWeekDayId(App.Vars.first_weekday); + const weekDayId = App.Utils.Date.getWeekdayId(App.Vars.first_weekday); const workingPlanSorted = App.Utils.Date.sortWeekDictionary(workingPlan, weekDayId); $('.working-plan tbody').empty();