mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Update parsers.py and test_consumer.py
This commit is contained in:
parent
b43aae84ab
commit
54cbacf4f4
@ -224,6 +224,7 @@ def parse_date(filename, text):
|
||||
"DATE_ORDER": date_order,
|
||||
"PREFER_DAY_OF_MONTH": "first",
|
||||
"RETURN_AS_TIMEZONE_AWARE": True,
|
||||
"TIMEZONE": settings.TIME_ZONE,
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -341,6 +341,8 @@ class TestConsumer(DirectoriesMixin, TestCase):
|
||||
|
||||
self._assert_first_last_send_progress()
|
||||
|
||||
self.assertEqual(document.created.tzinfo.zone, 'America/Chicago')
|
||||
|
||||
@override_settings(PAPERLESS_FILENAME_FORMAT=None)
|
||||
def testDeleteMacFiles(self):
|
||||
# https://github.com/jonaswinkler/paperless-ng/discussions/1037
|
||||
|
Loading…
x
Reference in New Issue
Block a user