Permalink
Browse files

merchant: fix timezone offset

  • Loading branch information...
selsta committed Jan 10, 2019
1 parent aa82615 commit 84c509c00d3d7ce7e5917fe7a37026b6349ddca7
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 84c509c

Please sign in to comment.