Add option for parsing of date from filename (and associated tests)

This commit is contained in:
Joshua Taillon
2018-11-15 20:32:15 -05:00
parent 4409f65840
commit e1d8744c66
8 changed files with 101 additions and 0 deletions

View File

@@ -292,3 +292,4 @@ FY_END = os.getenv("PAPERLESS_FINANCIAL_YEAR_END")
# Specify the default date order (for autodetected dates)
DATE_ORDER = os.getenv("PAPERLESS_DATE_ORDER", "DMY")
FILENAME_DATE_ORDER = os.getenv("PAPERLESS_FILENAME_DATE_ORDER")