Permalink
Browse files

merchant: fix timezone offset

  • Loading branch information...
selsta committed Jan 10, 2019
1 parent 1bef270 commit 553e143a0f7b1d1f7863f2406a780cf0f8694d4e
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 553e143

Please sign in to comment.