mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Add additional test for date parsing
This commit is contained in:
parent
7900d31485
commit
03543a6a5d
@ -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)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user