ENH: add date format 2005-01-23 21:59:59 (%Y-%m-%d %H:%M:%S) so ISO8601 doesnt handle it

This commit is contained in:
Daniel Black 2013-09-21 11:44:50 +10:00
parent 855d802ba8
commit a0676cdd1e

View file

@ -61,6 +61,8 @@ class DateDetector:
self.appendTemplate("%a %b %d %H:%M:%S")
# standard: Jan 23 21:59:59
self.appendTemplate("%b %d %H:%M:%S")
# simple date: 2005-01-23 21:59:59
self.appendTemplate("%Y-%m-%d %H:%M:%S")
# simple date: 2005/01/23 21:59:59
self.appendTemplate("%Y/%m/%d %H:%M:%S")
# simple date too (from x11vnc): 23/01/2005 21:59:59