Skip to content

Commit

Permalink
Fix problem with importing weekly repeats when BYDAY is not specified…
Browse files Browse the repository at this point in the history
…. See also GitHub Issues #3485.
  • Loading branch information
campbell-m committed Aug 6, 2023
1 parent b9d72dd commit 5518689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/functions_ical.inc
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ function get_repeat_rule(string $rrule, int $start_time, array &$errors)
{
// If there's no repeat day specified in the RRULE then
// 'the day is gotten from "DTSTART"'
$byday_days = array(RFC5545::DAYS[date('w', $start_time)]);
$byday_days = array(date('w', $start_time));
}
$repeat_rule->setDays($byday_days);
break;
Expand Down

0 comments on commit 5518689

Please sign in to comment.