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