From 3c625a5ff624bacb186fd35d22c3111bae824da5 Mon Sep 17 00:00:00 2001 From: ohadmata Date: Mon, 26 Feb 2024 09:55:22 +0200 Subject: [PATCH] tz date format --- src/shmessy/types/datetime_.py | 1 + tests/intg/test_read_csv.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shmessy/types/datetime_.py b/src/shmessy/types/datetime_.py index 291aec9..d163556 100644 --- a/src/shmessy/types/datetime_.py +++ b/src/shmessy/types/datetime_.py @@ -30,6 +30,7 @@ class DatetimeType(BaseType): "%Y-%m-%dT%H:%M:%S.%fZ", # 2022-12-30T00:00:00.000Z "%Y-%m-%dT%H:%M:%S", # 2022-12-30T00:00:00 "%d/%m/%Y %H:%M", # 30/12/2022 00:00 + "%Y-%m-%d %H:%M:%S %Z", # 2020-09-24 11:57:27 UTC ] def validate(self, data: ndarray) -> Optional[InferredField]: diff --git a/tests/intg/test_read_csv.py b/tests/intg/test_read_csv.py index c3df0c0..1aa9560 100644 --- a/tests/intg/test_read_csv.py +++ b/tests/intg/test_read_csv.py @@ -1,5 +1,4 @@ import numpy as np -import pytest from shmessy import Shmessy