1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2026-05-25 14:26:17 +03:00
* fix utcnow deprecation warnings
* upd deps
* upd workflows
This commit is contained in:
2025-06-19 13:36:26 +03:00
committed by GitHub
parent b34b1a8b20
commit 3fcb4855d5
8 changed files with 1569 additions and 1602 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ def get_start_date(date: ConfigDate) -> datetime.datetime:
if isinstance(date, datetime.datetime):
return date
if "now" == date:
result = datetime.datetime.utcnow()
result = datetime.datetime.now(datetime.UTC)
else:
result = dateutil.parser.parse(date)
return result