From 053ca2a126d62b7722d75143e2cd85fec2afe0d0 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Sat, 17 Feb 2024 23:41:26 +0300 Subject: [PATCH] Update datetimecolumn.py --- clickhouse_driver/columns/numpy/datetimecolumn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clickhouse_driver/columns/numpy/datetimecolumn.py b/clickhouse_driver/columns/numpy/datetimecolumn.py index 6b61abac..b6f14fe5 100644 --- a/clickhouse_driver/columns/numpy/datetimecolumn.py +++ b/clickhouse_driver/columns/numpy/datetimecolumn.py @@ -25,7 +25,7 @@ def apply_timezones_after_read(self, dt): ts = pd.to_datetime(dt, utc=True).tz_convert(timezone) ts = ts.tz_localize(None) return ts.to_numpy(self.datetime_dtype) - + return dt def apply_timezones_before_write(self, items):