mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 01:00:44 +02:00
doh
This commit is contained in:
parent
1eb503f526
commit
655dc61ff2
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ void Ledger::historySuccess(QNetworkReply& reply) {
|
||||||
// be explicit
|
// be explicit
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
QDateTime createdAt = QDateTime::fromTime_t(valueObject["created_at"].toInt(), Qt::UTC);
|
QDateTime createdAt = QDateTime::fromTime_t(valueObject["created_at"].toInt(), Qt::UTC);
|
||||||
#elif
|
#else
|
||||||
QDateTime createdAt = QDateTime::fromSecsSinceEpoch(valueObject["created_at"].toInt(), Qt::UTC);
|
QDateTime createdAt = QDateTime::fromSecsSinceEpoch(valueObject["created_at"].toInt(), Qt::UTC);
|
||||||
#endif
|
#endif
|
||||||
QDateTime localCreatedAt = createdAt.toTimeZone(QTimeZone::systemTimeZone());
|
QDateTime localCreatedAt = createdAt.toTimeZone(QTimeZone::systemTimeZone());
|
||||||
|
|
Loading…
Reference in a new issue