diff --git a/pyfpdb/WinamaxToFpdb.py b/pyfpdb/WinamaxToFpdb.py index 8f03351f..d34e92e5 100644 --- a/pyfpdb/WinamaxToFpdb.py +++ b/pyfpdb/WinamaxToFpdb.py @@ -212,13 +212,11 @@ class Winamax(HandHistoryConverter): a = self.re_DateTime.search(info[key]) if a: datetimestr = "%s/%s/%s %s:%s:%s" % (a.group('Y'),a.group('M'), a.group('D'), a.group('H'),a.group('MIN'),a.group('S')) - tzoffset = str(-time.timezone/3600) else: datetimestr = "2010/Jan/01 01:01:01" log.error(_("readHandInfo: DATETIME not matched: '%s'" % info[key])) -# print "DEBUG: readHandInfo: DATETIME not matched: '%s'" % info[key] - # TODO: Manually adjust time against OFFSET - hand.startTime = datetime.datetime.strptime(datetimestr, "%Y/%m/%d %H:%M:%S") # also timezone at end, e.g. " ET" + #print "DEBUG: readHandInfo: DATETIME not matched: '%s'" % info[key] + hand.startTime = datetime.datetime.strptime(datetimestr, "%Y/%m/%d %H:%M:%S") hand.startTime = HandHistoryConverter.changeTimezone(hand.startTime, "CET", "UTC") if key == 'HID1': # Need to remove non-alphanumerics for MySQL