mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
Qt6: use setSecsSinceEpoch
This commit is contained in:
parent
a4328d07a8
commit
80fed34d16
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ TxFiatHistory::TxFiatHistory(int genesis_timestamp, const QString &configDirecto
|
|||
|
||||
double TxFiatHistory::get(int timestamp) {
|
||||
QDateTime ts;
|
||||
ts.setTime_t(timestamp);
|
||||
ts.setSecsSinceEpoch(timestamp);
|
||||
auto key = ts.toString("yyyyMMdd");
|
||||
return this->get(key); // USD
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue