Skip to content

Commit

Permalink
ensure BYDAY is present in VTIMEZONEs RRULE (fixes skarim#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuchta committed Jul 14, 2021
1 parent 498555a commit 90f5f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vobject/icalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90f5f5f

Please sign in to comment.