forked from mirrors/easyappointments
Fixed issue with translation breaking the calendar page (#931).
This commit is contained in:
parent
6f8e971673
commit
bbaac53308
1 changed files with 2 additions and 1 deletions
|
@ -1245,7 +1245,8 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
||||||
var calendarDate = calendarView.start.clone();
|
var calendarDate = calendarView.start.clone();
|
||||||
|
|
||||||
while (calendarDate < calendarView.end) {
|
while (calendarDate < calendarView.end) {
|
||||||
weekdayName = calendarDate.format('dddd').toLowerCase();
|
weekdayNumber = parseInt(calendarDate.format('d'))
|
||||||
|
weekdayName = GeneralFunctions.getWeekdayName(weekdayNumber);
|
||||||
weekdayDate = calendarDate.format('YYYY-MM-DD');
|
weekdayDate = calendarDate.format('YYYY-MM-DD');
|
||||||
|
|
||||||
// Add working plan exception event.
|
// Add working plan exception event.
|
||||||
|
|
Loading…
Reference in a new issue