This commit is contained in:
2024-08-10 18:58:53 +02:00
parent 917de0f2ab
commit 132ee2be09

View File

@@ -29,7 +29,7 @@ class RecurrenceRule(BaseModel):
while True:
next_date += timedelta(days=1)
if next_date < start:
if next_date <= datetime.now(start.tzinfo):
continue
if next_date.weekday() in self.by_weekday: