From e9bd0b122e6ed85b14364f0fe6ff04d40062e411 Mon Sep 17 00:00:00 2001 From: apkallum Date: Mon, 10 Aug 2020 19:17:17 -0400 Subject: [PATCH] fix: utc timing for initial command log as well --- archivebox/logging_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/logging_util.py b/archivebox/logging_util.py index 684f3d80..50b639eb 100644 --- a/archivebox/logging_util.py +++ b/archivebox/logging_util.py @@ -164,7 +164,7 @@ def log_cli_command(subcommand: str, subcommand_args: List[str], stdin: Optional cmd = ' '.join(('archivebox', subcommand, *subcommand_args)) stdin_hint = ' < /dev/stdin' if not stdin.isatty() else '' stderr('{black}[i] [{now}] ArchiveBox v{VERSION}: {cmd}{stdin_hint}{reset}'.format( - now=datetime.now().strftime('%Y-%m-%d %H:%M:%S'), + now=datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'), VERSION=VERSION, cmd=cmd, stdin_hint=stdin_hint,