wacom: device time must be interpreted as UTC
This commit is contained in:
parent
a1e3e8eafb
commit
48a339c3b7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue