ClickHouse/tests/queries/0_stateless/00801_daylight_saving_time_hour_underflow.sql

7 lines
338 B
MySQL
Raw Normal View History

-- See comment in DateLUTImpl.cpp: "We doesn't support cases when time change results in switching to previous day..."
SELECT
ignore(toDateTime(370641600, 'Europe/Moscow') AS t),
replaceRegexpAll(toString(t), '\\d', 'x'),
toHour(t) < 24,
replaceRegexpAll(formatDateTime(t, '%Y-%m-%d %H:%M:%S; %R:%S; %F %T'), '\\d', 'x');