mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Update
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user