Avoid rendering the next day in free/busy grid (can happen on DST transitions)
This commit is contained in:
parent
12533fbed3
commit
691d6acd2f
1 changed files with 1 additions and 0 deletions
|
@ -934,6 +934,7 @@ function rcube_calendar_ui(settings)
|
|||
curdate.setTime(t);
|
||||
datestr = fc.fullCalendar('formatDate', curdate, date_format);
|
||||
if (datestr != lastdate) {
|
||||
if (lastdate && !allday) break;
|
||||
dates_row += '<th colspan="' + dayslots + '" class="boxtitle date' + $.fullCalendar.formatDate(curdate, 'ddMMyyyy') + '">' + Q(datestr) + '</th>';
|
||||
lastdate = datestr;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue