This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
Allow users to add other options for creation date extraction #983
jgillula
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Unfortunately paperless-ng doesn't correctly extract that creation date for a lot of my documents. That's because my documents have dates with formats like:
paperless-ng completely ignores the first type of date format because it doesn't precisely match the fixed set of regexes it uses. On the second it extracts the date as January 2, 2021--this is probably due to some locale mixup reading the mm/dd/yy date as dd/mm/yy. Even if I could fix that, it still doesn't help me because what I want is the last day of the billing cycle (February 28, 2021), not the first.
It would be awesome if we could let the user add additional options for extracting dates. I can see a couple possible ways to do it (in order of increasing complexity):
DATE_REGEX
, via some option in the backend's config fileAs with #982 I'm willing to try to implement this and make a pull request. But I'd love to work out the design details via discussion first, to make sure the maintainers are interested in what I'd code up. :-)
Beta Was this translation helpful? Give feedback.
All reactions