mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 07:49:28 +01:00
"fix for bug #334: 2-weekly repeating event over daylight saving is wrong"
This commit is contained in:
parent
47763981e9
commit
0ce343d842
@ -763,7 +763,8 @@ class bocal
|
||||
}
|
||||
break;
|
||||
case MCAL_RECUR_WEEKLY:
|
||||
if (floor(($search_beg_day - $event_start_daybegin_ts)/WEEK_s) % $freq)
|
||||
// we use round(,1) to deal with changing daylight saving
|
||||
if (floor(round(($search_beg_day - $event_start_daybegin_ts)/WEEK_s,1)) % $freq)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user