From 5bd4d61b58e7ba1b0ddbe541337ae001f6718589 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Jan 2026 20:45:13 +0100 Subject: add time zone to logs --- cgitize/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgitize/utils.py b/cgitize/utils.py index 3b2cf62..c3a4fff 100644 --- a/cgitize/utils.py +++ b/cgitize/utils.py @@ -17,7 +17,7 @@ def setup_logging(verbose=False): level = logging.DEBUG if verbose else logging.INFO logging.basicConfig( level=level, - datefmt='%Y-%m-%d %H:%M:%S', + datefmt='%Y-%m-%d %H:%M:%S%z', format='%(asctime)s | %(levelname)s | %(message)s', # Log to stdout, because that's where subprocess's output goes (so that # the don't get interleaved). -- cgit v1.3