diff --git a/dbms/tests/queries/0_stateless/00387_use_client_time_zone.reference b/dbms/tests/queries/0_stateless/00387_use_client_time_zone.reference new file mode 100644 index 00000000000..cdcff6e87eb --- /dev/null +++ b/dbms/tests/queries/0_stateless/00387_use_client_time_zone.reference @@ -0,0 +1 @@ +2001-09-09 01:46:40 diff --git a/dbms/tests/queries/0_stateless/00387_use_client_time_zone.sh b/dbms/tests/queries/0_stateless/00387_use_client_time_zone.sh new file mode 100755 index 00000000000..bcb29cd5509 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00387_use_client_time_zone.sh @@ -0,0 +1,3 @@ +#!/bin/sh -e + +TZ=UTC clickhouse --client --use_client_time_zone=1 --query="SELECT toDateTime(1000000000)"