1
0
Fork 0

utcnow is obsolete

This commit is contained in:
OniriCorpe 2024-05-01 23:05:34 +02:00 committed by OniriCorpe
parent 43d77e49ba
commit 8ca1310130

View file

@ -228,7 +228,7 @@ class AppAutoUpdater:
# Default message # Default message
pr_title = commit_msg = "Upgrade sources" 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}" branch_name = f"ci-auto-update-sources-{date}"
for source, infos in self.sources.items(): for source, infos in self.sources.items():