From 4dcee6a1e231ec213f37926c7d9a0b3fed10819e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Jan 2026 20:55:06 +0100 Subject: add time zone to logs --- project/utils.py | 2 +- tools/project-clang-format.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/utils.py b/project/utils.py index 1be2b55..021f0c1 100644 --- a/project/utils.py +++ b/project/utils.py @@ -48,7 +48,7 @@ def full_exe_name(exe): def setup_logging(): logging.basicConfig( format='%(asctime)s | %(levelname)s | %(message)s', - datefmt='%Y-%m-%d %H:%M:%S', + datefmt='%Y-%m-%d %H:%M:%S%z', level=logging.INFO, # Log to stdout, because that's where subprocess's output goes (so that # they don't get interleaved). diff --git a/tools/project-clang-format.py b/tools/project-clang-format.py index 343894f..2f36613 100755 --- a/tools/project-clang-format.py +++ b/tools/project-clang-format.py @@ -25,7 +25,7 @@ import sys def setup_logging(): logging.basicConfig( format='%(asctime)s | %(levelname)s | %(message)s', - datefmt='%Y-%m-%d %H:%M:%S', + datefmt='%Y-%m-%d %H:%M:%S%z', level=logging.INFO) try: yield -- cgit v1.3