mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix holidays in sidebox calendar
This commit is contained in:
parent
23f9a9a75b
commit
efc7048c82
@ -2773,9 +2773,9 @@ app.classes.calendar = AppJS.extend(
|
||||
var tempDate = new Date();
|
||||
var today = new Date(tempDate.getFullYear(), tempDate.getUTCMonth(), tempDate.getUTCDate());
|
||||
var holidays = et2_calendar_daycol.get_holidays({day_class_holiday: function() {}}, date.getFullYear());
|
||||
var day_holidays = holidays[''+date.getUTCFullYear() +
|
||||
sprintf("%02d",date.getUTCMonth()+1) +
|
||||
sprintf("%02d",date.getUTCDate())];
|
||||
var day_holidays = holidays[''+date.getFullYear() +
|
||||
sprintf("%02d",date.getMonth()+1) +
|
||||
sprintf("%02d",date.getDate())];
|
||||
var css_class = '';
|
||||
var tooltip = '';
|
||||
if(date.getTime() == today.getTime())
|
||||
|
Loading…
Reference in New Issue
Block a user