BF: removing starting anchor from standard time pattern (closes: #500824).

debian-releases/squeeze
Yaroslav Halchenko 2009-01-18 11:43:48 -05:00
parent 98fb72441d
commit b54b7def46
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class DateDetector:
# standard
template = DateStrptime()
template.setName("Month Day Hour:Minute:Second")
template.setRegex("^\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}")
template.setRegex("\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}")
template.setPattern("%b %d %H:%M:%S")
self.__templates.append(template)
# asctime