1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

utcnow is obsolete

This commit is contained in:
OniriCorpe 2024-05-01 23:05:34 +02:00 committed by OniriCorpe
parent 28a8fd9c8a
commit 48e7279f7e

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():