From b442c771fcc82aa43ed1f77179de1ae869d6b12f Mon Sep 17 00:00:00 2001 From: jiacy-jcy Date: Fri, 10 Jun 2022 09:18:03 +0800 Subject: [PATCH] update test case --- tests/system-test/2-query/To_iso8601.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-test/2-query/To_iso8601.py b/tests/system-test/2-query/To_iso8601.py index b9cf1ce9a7..46d368aac4 100644 --- a/tests/system-test/2-query/To_iso8601.py +++ b/tests/system-test/2-query/To_iso8601.py @@ -19,7 +19,7 @@ class TDTestCase: # datetime.datetime.now().strftime("%Y-%m-%d"), "%Y-%m-%d") # print(today_date) - time_zone = (os.popen('timedatectl | grep zone').read().strip().split(',')[1].lstrip())[0:5] + time_zone = os.popen('date "+%z"').read().strip() tdSql.execute('create database db1 precision "ms"') tdSql.execute('use db1') tdSql.execute('create table if not exists ntb(ts timestamp, c1 int, c2 timestamp)') -- GitLab