aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-01-13 20:55:06 +0100
committerEgor Tensin <egor@tensin.name>2026-01-13 20:55:06 +0100
commit4dcee6a1e231ec213f37926c7d9a0b3fed10819e (patch)
tree6e6dff821b5c98e319c11652d25f709ccbca2973
parentadd dependabot.yml (diff)
downloadcmake-common-5.0.1.tar.gz
cmake-common-5.0.1.zip
add time zone to logsv5.0.1
-rw-r--r--project/utils.py2
-rwxr-xr-xtools/project-clang-format.py2
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