Merge pull request #15 from mdiluz/fix-time

Fix the time printout in /list
This commit is contained in:
Marc Di Luzio 2024-08-17 00:27:18 +01:00 committed by GitHub
commit fe54dcb213
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ def get_next_datetime(weekday, hour) -> datetime:
# Calculate the next datetime # Calculate the next datetime
next_date = now + timedelta(days=days_until_next_week) next_date = now + timedelta(days=days_until_next_week)
next_date.replace(hour=hour) next_date = next_date.replace(hour=hour, minute=0, second=0, microsecond=0)
return next_date return next_date