mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Log detected document date with isoformat
This commit is contained in:
		@@ -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")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user