fix(google-calendar): Use byday variable type properly
Introduced via https://github.com/frappe/frappe/pull/31772 (cherry picked from commit 3829c2a1c2cedf55c036254c57b211959619468b)
This commit is contained in:
parent
4bc19078bb
commit
3894d4093a
1 changed files with 1 additions and 1 deletions
|
|
@ -656,7 +656,7 @@ def google_calendar_to_repeat_on(*, start, end, recurrence=None):
|
|||
repeat_on[google_calendar_days[repeat_day]] = 1
|
||||
|
||||
if byday and repeat_on["repeat_on"] == "Monthly":
|
||||
byday = byday.split("=")[1]
|
||||
byday = byday[0]
|
||||
repeat_day_week_number, repeat_day_name = None, None
|
||||
|
||||
for num in ["-2", "-1", "1", "2", "3", "4", "5"]:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue