utcnow is obsolete

This commit is contained in:
OniriCorpe 2024-05-01 23:05:34 +02:00 committed by OniriCorpe
parent 4feed17196
commit dcef9dce56

View file

@ -228,7 +228,7 @@ class AppAutoUpdater:
# Default message
pr_title = commit_msg = "Upgrade sources"
date = datetime.utcnow().strftime("%y%m%d")
date = datetime.now().strftime("%y%m%d")
branch_name = f"ci-auto-update-sources-{date}"
for source, infos in self.sources.items():