Skip to content

Commit 23b7a06

Browse files
authored
Merge pull request #578 from sanders41/iso-date
Add test for iso date with +00:00 format
2 parents dcc7ac1 + 59f50ff commit 23b7a06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def test_is_pydantic_2():
1313
"iso_date, expected",
1414
[
1515
("2021-05-11T03:12:22.563960100Z", datetime(2021, 5, 11, 3, 12, 22, 563960)),
16+
("2021-05-11T03:12:22.563960100+00:00", datetime(2021, 5, 11, 3, 12, 22, 563960)),
1617
(datetime(2021, 5, 11, 3, 12, 22, 563960), datetime(2021, 5, 11, 3, 12, 22, 563960)),
1718
(
1819
datetime(2023, 7, 12, 1, 40, 11, 993699, tzinfo=timezone.utc),

0 commit comments

Comments
 (0)