author | Laurent Bessard |
Mon, 29 Apr 2013 09:09:07 +0200 | |
changeset 1076 | 2a02c6404124 |
parent 1075 | 8078c01ae464 |
child 1077 | df33bd06990a |
--- a/controls/LogViewer.py Sun Apr 28 18:04:04 2013 +0900 +++ b/controls/LogViewer.py Mon Apr 29 09:09:07 2013 +0200 @@ -223,7 +223,7 @@ class LogMessage: def __init__(self, tv_sec, tv_nsec, level, level_bitmap, msg): - self.Date = datetime.fromtimestamp(tv_sec) + self.Date = datetime.utcfromtimestamp(tv_sec) self.Seconds = self.Date.second + tv_nsec * 1e-9 self.Date = self.Date.replace(second=0) self.Timestamp = tv_sec + tv_nsec * 1e-9