From 48e7279f7e2335083bb7c366814a67a4b85415e4 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 1 May 2024 23:05:34 +0200 Subject: [PATCH] utcnow is obsolete --- tools/autoupdate_app_sources/autoupdate_app_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/autoupdate_app_sources/autoupdate_app_sources.py b/tools/autoupdate_app_sources/autoupdate_app_sources.py index 2c583015..51984064 100755 --- a/tools/autoupdate_app_sources/autoupdate_app_sources.py +++ b/tools/autoupdate_app_sources/autoupdate_app_sources.py @@ -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():