From 90f5f5fbea139e8c5abb79c5470616e2a9a8974a Mon Sep 17 00:00:00 2001 From: Jiri Kuchta Date: Wed, 14 Jul 2021 13:00:28 +0200 Subject: [PATCH] ensure BYDAY is present in VTIMEZONEs RRULE (fixes #151) --- vobject/icalendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vobject/icalendar.py b/vobject/icalendar.py index a44fffb..e95a638 100644 --- a/vobject/icalendar.py +++ b/vobject/icalendar.py @@ -298,7 +298,7 @@ def fromLastWeek(dt): if num is not None: dayString = ";BYDAY=" + str(num) + WEEKDAYS[rule['weekday']] else: - dayString = "" + dayString = ";BYDAY=1" if rule['end'] is not None: if rule['hour'] is None: # all year offset, with no rule