diff --git a/stores/bluetooth.js b/stores/bluetooth.js index fb3b814..b565b1a 100644 --- a/stores/bluetooth.js +++ b/stores/bluetooth.js @@ -336,9 +336,9 @@ export const useBluetoothStore = defineStore('ble', { restoreCount: decrypted[134] * 256 + decrypted[135], restoreDate: this.arrayToTimestamp(decrypted.slice(136, 140)), icPartNo: that.uint8ArrayToString(decrypted.slice(140, 150)), - indate: this.arrayToTimestamp(decrypted.slice(150, 154)), + indate: this.arrayToTimestamp(decrypted.slice(150, 154)) * 1000, mac: that.uint8ArrayToString(decrypted.slice(154, 174)), - timezoneOffset: new Date().getTimezoneOffset() * 60 + timezoneOffset: new Date().getTimezoneOffset() * -60 } that.updateCurrentLockInfo({ ...that.currentLockInfo,