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

@@ -122,6 +122,14 @@ PAPERLESS_EMAIL_SECRET=""
# "true", the document will instead be opened in the browser, if possible.
#PAPERLESS_INLINE_DOC="false"
# By default, paperless will check the document text for document date information.
# Uncomment the line below to enable checking the document filename for date
# information. The date order can be set to any option as specified in
# https://dateparser.readthedocs.io/en/latest/#settings. The filename will be
# checked first, and if nothing is found, the document text will be checked
# as normal.
#PAPERLESS_FILENAME_DATE_ORDER="YMD"
#
# The following values use sensible defaults for modern systems, but if you're
# running Paperless on a low-resource device (like a Raspberry Pi), modifying