From 03e382165f73e4f683348b481067d3883a712420 Mon Sep 17 00:00:00 2001 From: cangyin Date: Tue, 3 Sep 2024 18:37:27 +0800 Subject: [PATCH] return UTC directly --- src/Common/DateLUT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/DateLUT.cpp b/src/Common/DateLUT.cpp index a0d0b95a381..fd966d30273 100644 --- a/src/Common/DateLUT.cpp +++ b/src/Common/DateLUT.cpp @@ -53,7 +53,7 @@ std::string determineDefaultTimeZone() if (*tz_env_var == ':') ++tz_env_var; else if (*tz_env_var == '\0') - tz_env_var = "UTC"; + return "UTC"; tz_file_path = tz_env_var; tz_name = tz_env_var;