Qt6: use toSecsSinceEpoch

This commit is contained in:
tobtoht 2022-05-24 17:26:35 +02:00
parent d7c4717092
commit 97bb165ae2
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -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;