A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Update to include short form for dates
Daniel Quinn4187840844a5
diff --git a/docs/consumption.rst b/docs/consumption.rstindex 28adf65e7..2e404fddd 100644--- a/docs/consumption.rst+++ b/docs/consumption.rst@@ -46,8 +46,8 @@ for you. This is is the logic the consumer follows:1. Try to find the correspondent, title, and tags in the file name followingthe pattern: ``Date - Correspondent - Title - tag,tag,tag.pdf``. Note that- the format of the date is **rigidly defined** as ``YYYYMMDDHHMMSSZ``. The- ``Z`` is for "Zulu time" AKA "UTC".+ the format of the date is **rigidly defined** as ``YYYYMMDDHHMMSSZ`` or+ ``YYYYMMDDZ``. The ``Z`` is for "Zulu time" AKA "UTC".2. If that doesn't work, we skip the date and try this pattern:the pattern: ``Correspondent - Title - tag,tag,tag.pdf``.3. If that doesn't work, we try to find the correspondent and title in the file@@ -57,6 +57,7 @@ for you. This is is the logic the consumer follows:So given the above, the following examples would work as you'd expect:* ``20150314000700Z - Some Company Name - Invoice 2016-01-01 - money,invoices.pdf``+* ``20150314Z - Some Company Name - Invoice 2016-01-01 - money,invoices.pdf``* ``Some Company Name - Invoice 2016-01-01 - money,invoices.pdf``* ``Another Company - Letter of Reference.jpg``* ``Dad's Recipe for Pancakes.png``@@ -64,6 +65,7 @@ So given the above, the following examples would work as you'd expect:These however wouldn't work:* ``2015-03-14 00:07:00 UTC - Some Company Name, Invoice 2016-01-01, money, invoices.pdf``+* ``2015-03-14 - Some Company Name, Invoice 2016-01-01, money, invoices.pdf``* ``Some Company Name, Invoice 2016-01-01, money, invoices.pdf``* ``Another Company- Letter of Reference.jpg``