mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fix JS error
This commit is contained in:
parent
b22674dbd7
commit
1ab53dec86
@ -1173,7 +1173,7 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if(show_weekend || !show_weekend && [0, 6].indexOf(this.date_helper.date.getUTCDay()) === -1 || end_date === start_date)
|
if(show_weekend || !show_weekend && [0, 6].indexOf(this.date_helper(end_date).getUTCDay()) === -1 || end_date === start_date)
|
||||||
{
|
{
|
||||||
day_list.push(formatDate(start, {dateFormat: "Ymd"}));
|
day_list.push(formatDate(start, {dateFormat: "Ymd"}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user