Commit e845c27f authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! ZMySQLDA: Optimise date & datetime parsing in results.

parent 01e14257
...@@ -164,7 +164,7 @@ def DATETIME_to_DateTime_or_None(s): ...@@ -164,7 +164,7 @@ def DATETIME_to_DateTime_or_None(s):
try: try:
date, time = s.split(' ') date, time = s.split(' ')
year, month, day = date.split('-') year, month, day = date.split('-')
hour, minte, second = time.split(':') hour, minute, second = time.split(':')
return DateTime( return DateTime(
int(year), int(year),
int(month), int(month),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment