From 84c509c00d3d7ce7e5917fe7a37026b6349ddca7 Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 10 Jan 2019 10:39:22 +0100 Subject: [PATCH] merchant: fix timezone offset --- pages/merchant/Merchant.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/merchant/Merchant.qml b/pages/merchant/Merchant.qml index 5f816782..4dcd0d28 100644 --- a/pages/merchant/Merchant.qml +++ b/pages/merchant/Merchant.qml @@ -603,7 +603,7 @@ Item { var isout = model.data(idx, TransactionHistoryModel.TransactionIsOutRole); var timeDate = model.data(idx, TransactionHistoryModel.TransactionDateRole); var timeHour = model.data(idx, TransactionHistoryModel.TransactionTimeRole); - var timeEpoch = new Date(timeDate + "T" + timeHour + "Z") .getTime() / 1000; + var timeEpoch = new Date(timeDate + "T" + timeHour) .getTime() / 1000; var subaddrAccount = model.data(idx, TransactionHistoryModel.TransactionSubaddrAccountRole); var subaddrIndex = model.data(idx, TransactionHistoryModel.TransactionSubaddrIndexRole);