From a241693e8f37d12943afba63cc98dfdccba81a12 Mon Sep 17 00:00:00 2001 From: Giorgi Dalakishvili Date: Tue, 19 Nov 2024 23:13:15 +0400 Subject: [PATCH] Change DateTimeOffset mapping --- DuckDB.NET.Data/Internal/DuckDBTypeMap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DuckDB.NET.Data/Internal/DuckDBTypeMap.cs b/DuckDB.NET.Data/Internal/DuckDBTypeMap.cs index 46f5f0d..40fa9dd 100644 --- a/DuckDB.NET.Data/Internal/DuckDBTypeMap.cs +++ b/DuckDB.NET.Data/Internal/DuckDBTypeMap.cs @@ -56,7 +56,7 @@ internal static class DuckDBTypeMap { typeof(DateOnly), DuckDBType.Date}, { typeof(TimeOnly), DuckDBType.Time}, #endif - { typeof(DateTimeOffset), DuckDBType.TimeTz}, + { typeof(DateTimeOffset), DuckDBType.TimestampTz}, { typeof(BigInteger), DuckDBType.HugeInt}, { typeof(string), DuckDBType.Varchar}, { typeof(decimal), DuckDBType.Decimal},