From 97bb165ae294d2b05a00a778a3cdb82b246363aa Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 24 May 2022 17:26:35 +0200 Subject: [PATCH] Qt6: use toSecsSinceEpoch --- src/libwalletqt/TransactionHistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libwalletqt/TransactionHistory.cpp b/src/libwalletqt/TransactionHistory.cpp index 6635282..b6aacc2 100644 --- a/src/libwalletqt/TransactionHistory.cpp +++ b/src/libwalletqt/TransactionHistory.cpp @@ -202,7 +202,7 @@ bool TransactionHistory::writeCSV(const QString &path) { // format and write QString line = QString("\n%1,%2,\"%3\",%4,\"%5\",%6,%7,%8,\"%9\",\"%10\",\"%11\",%12,\"%13\"") - .arg(QString::number(info.blockHeight()), QString::number(timeStamp.toTime_t()), date, + .arg(QString::number(info.blockHeight()), QString::number(timeStamp.toSecsSinceEpoch()), date, QString::number(info.subaddrAccount()), direction, balanceDelta, info.displayAmount(), info.fee(), info.hash(), info.description(), paymentId, fiatAmount, preferredFiatSymbol); data += line;