Fix: typo in date parser test

This commit is contained in:
Fabien Dubuy 2024-06-26 00:12:06 +02:00 committed by GitHub
parent f169b67595
commit 6d43e9e984
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -224,7 +224,7 @@ class TestDate(TestCase):
)
self.assertEqual(
parse_date("", "15. února 1985"),
datetime.datetime(1985, 6, 15, 0, 0, tzinfo=tz.gettz(settings.TIME_ZONE)),
datetime.datetime(1985, 2, 15, 0, 0, tzinfo=tz.gettz(settings.TIME_ZONE)),
)
self.assertEqual(
parse_date("", "30. září 2011"),