Merge pull request #320 from ovv/detected-document-date-log-iso

Log detected document date with isoformat
This commit is contained in:
Daniel Quinn 2018-03-05 12:37:28 +01:00 committed by GitHub
commit 1c4226d27c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")