aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-01-10 10:39:22 +0100
committerselsta <selsta@sent.at>2019-01-10 11:19:21 +0100
commit84c509c00d3d7ce7e5917fe7a37026b6349ddca7 (patch)
tree128551b26c5fe825c18e574bedbda26aa140a0c9
parentaa826153742ba414edccab1e90e8b46061a34fd2 (diff)
downloadmonzero-gui-84c509c00d3d7ce7e5917fe7a37026b6349ddca7.tar.gz
monzero-gui-84c509c00d3d7ce7e5917fe7a37026b6349ddca7.tar.xz
monzero-gui-84c509c00d3d7ce7e5917fe7a37026b6349ddca7.zip
merchant: fix timezone offset
-rw-r--r--pages/merchant/Merchant.qml2
1 files changed, 1 insertions, 1 deletions
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);