Log detected document date with isoformat

This commit is contained in:
Ovv 2018-03-04 13:10:49 +01:00
parent 41f816a29b
commit 75ac8d2796

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