From 428f2e3e0dedf03a5c1424a5960d0f84ff5a821e Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 3 Aug 2024 16:08:05 -0600 Subject: [PATCH] Adding another datetime test. --- wrolpi/test/test_dates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wrolpi/test/test_dates.py b/wrolpi/test/test_dates.py index eb378a8e..cb102fe1 100644 --- a/wrolpi/test/test_dates.py +++ b/wrolpi/test/test_dates.py @@ -116,6 +116,7 @@ def test_timedelta_to_timestamp(td, expected): ('Tue, October 19, 1999 03:41:01 PM', datetime(1999, 10, 19, 15, 41, 1)), ('04/27/2024 18:52:55', datetime(2024, 4, 27, 18, 52, 55)), ('6/24/2024 6:49:02 PM', datetime(2024, 6, 24, 6, 49, 2)), + ('2022-02-18T11:00:03.028Z', datetime(2022, 2, 18, 11, 0, 3, 28000, tzinfo=pytz.UTC)), # From SingleFile. ('Fri Jun 17 2022 19:24:52', datetime(2022, 6, 17, 19, 24, 52)), # PDFs are the Wild West...