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

pull/368/head
Daniel Black 2013-09-21 11:44:50 +10:00
parent 855d802ba8
commit a0676cdd1e
1 changed files with 2 additions and 0 deletions

View File

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