diff --git a/product/ZMySQLDA/db.py b/product/ZMySQLDA/db.py index 41c550d683dcd8282988d97d3836c16737b900de..a504f70e7f75da19ffa234285b0866b651f04544 100644 --- a/product/ZMySQLDA/db.py +++ b/product/ZMySQLDA/db.py @@ -153,7 +153,7 @@ def _mysql_timestamp_converter(s): return DateTime("%04d-%02d-%02d %02d:%02d:%02d" % tuple(parts)) def DateTime_or_None(s): - try: return DateTime(s) + try: return DateTime('%s UTC' % s) except: return None def int_or_long(s):