mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #320 from ovv/detected-document-date-log-iso
Log detected document date with isoformat
This commit is contained in:
commit
1c4226d27c
@ -242,7 +242,7 @@ class RasterisedDocumentParser(DocumentParser):
|
||||
break
|
||||
|
||||
if date is not None:
|
||||
self.log("info", "Detected document date " + date.strftime("%x") +
|
||||
self.log("info", "Detected document date " + date.isoformat() +
|
||||
" based on string " + datestring)
|
||||
else:
|
||||
self.log("info", "Unable to detect date for document")
|
||||
|
Loading…
x
Reference in New Issue
Block a user