mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-19 21:16:56 +01:00
Add additional test for date parsing
This commit is contained in:
parent
157240351f
commit
9b16789a17
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue