From 4217bacf545d3cb58c48d19f611183f02cdfed00 Mon Sep 17 00:00:00 2001 From: lihui Date: Thu, 9 Jan 2020 10:41:21 +0800 Subject: [PATCH] [#1096] --- src/util/src/ttime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/src/ttime.c b/src/util/src/ttime.c index 64a4d0fb9e..52faa0cac4 100644 --- a/src/util/src/ttime.c +++ b/src/util/src/ttime.c @@ -292,8 +292,8 @@ int32_t parseLocaltime(char* timestr, int64_t* time, int32_t timePrec) { } /* mktime will be affected by TZ, set by using taos_options */ - int64_t seconds = mktime(&tm); - //int64_t seconds = (int64_t)user_mktime(&tm); + //int64_t seconds = mktime(&tm); + int64_t seconds = (int64_t)user_mktime(&tm); int64_t fraction = 0; -- GitLab