Add additional test for date parsing

This commit is contained in:
brainrecursion
2023-07-30 08:34:33 -07:00
committed by Trenton H
parent 157240351f
commit 9b16789a17
+1 -1
View File
@@ -160,7 +160,7 @@ class TestDate(TestCase):
)
def test_date_format_20(self):
text = "Customer Number Currency 22nd MAR 2022 Credit Card 1934829304"
text = "Customer Number Currency 22nd March 2022 Credit Card 1934829304"
self.assertEqual(
parse_date("", text),
datetime.datetime(2022, 3, 22, 0, 0, tzinfo=tz.gettz(settings.TIME_ZONE)),