mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-29 18:05:58 +02:00
compile fixes by Unthinkingbit
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
QString GUIUtil::DateTimeStr(qint64 nTime)
|
||||
{
|
||||
QDateTime date = QDateTime::fromMSecsSinceEpoch(nTime*1000);
|
||||
QDateTime date = QDateTime::fromTime_t((qint32)nTime);
|
||||
return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user