mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +03:00
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();
|
||||
|
||||
while (calendarDate < calendarView.end) {
|
||||
weekdayName = calendarDate.format('dddd').toLowerCase();
|
||||
weekdayNumber = parseInt(calendarDate.format('d'))
|
||||
weekdayName = GeneralFunctions.getWeekdayName(weekdayNumber);
|
||||
weekdayDate = calendarDate.format('YYYY-MM-DD');
|
||||
|
||||
// Add working plan exception event.
|
||||
|
|
Loading…
Reference in a new issue