wacom: device time must be interpreted as UTC

This commit is contained in:
Peter Hutterer 2019-07-15 16:04:44 +10:00 committed by Benjamin Tissoires
parent a1e3e8eafb
commit 48a339c3b7
1 changed files with 1 additions and 1 deletions

View File

@ -1171,7 +1171,7 @@ class WacomProtocolIntuosPro(WacomProtocolSlate):
@classmethod
def time_from_bytes(self, data):
seconds = int.from_bytes(data[0:4], byteorder='little')
return time.localtime(seconds)
return time.gmtime(seconds)
# set_time is identical to spark/slate except the timestamp format