mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Log detected document date with isoformat
This commit is contained in:
parent
41f816a29b
commit
75ac8d2796
@ -242,7 +242,7 @@ class RasterisedDocumentParser(DocumentParser):
|
|||||||
break
|
break
|
||||||
|
|
||||||
if date is not None:
|
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)
|
" based on string " + datestring)
|
||||||
else:
|
else:
|
||||||
self.log("info", "Unable to detect date for document")
|
self.log("info", "Unable to detect date for document")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user