BF: Fixing a name for MySQL date pattern which misplaced Year (should not effect functionality) Closes #312

pull/305/merge
Yaroslav Halchenko 2013-08-08 09:47:47 -04:00
parent 547c123cfb
commit c0456fd835
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class DateDetector:
self._appendTemplate(template)
# MySQL: 130322 11:46:11
template = DateStrptime()
template.setName("MonthDayYear Hour:Minute:Second")
template.setName("YearMonthDay Hour:Minute:Second")
template.setRegex("^\d{2}\d{2}\d{2} +\d{1,2}:\d{2}:\d{2}")
template.setPattern("%y%m%d %H:%M:%S")
self._appendTemplate(template)