From aaa14e07e243c09bcf4093887756132b6dd90a49 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Mon, 20 May 2024 17:28:08 +0100 Subject: [PATCH] Force use of UTC (#10) --- codecov-status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov-status.py b/codecov-status.py index 46f4b9e..c90e4af 100755 --- a/codecov-status.py +++ b/codecov-status.py @@ -15,7 +15,7 @@ if __name__ == "__main__": - start_time = datetime.datetime.now() - datetime.timedelta(seconds=2) + start_time = datetime.datetime.now(tz=datetime.UTC) - datetime.timedelta(seconds=2) if os.environ.get("GITHUB_REPOSITORY", "") and os.environ.get( "GITHUB_REPOSITORY", "" ):