From 31648a44336fc778b5ccd91e01a6327614d19f27 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 10 Apr 2020 12:45:13 +0800 Subject: [PATCH] Fix date format for "Last seen complete" Closes #12462. --- src/gui/transferlistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/transferlistmodel.cpp b/src/gui/transferlistmodel.cpp index 20fa61dd6..3364ed2bd 100644 --- a/src/gui/transferlistmodel.cpp +++ b/src/gui/transferlistmodel.cpp @@ -359,7 +359,7 @@ QString TransferListModel::displayValue(const BitTorrent::TorrentHandle *torrent case TR_COMPLETED: return unitString(torrent->completedSize()); case TR_SEEN_COMPLETE_DATE: - return torrent->lastSeenComplete().toString(); + return torrent->lastSeenComplete().toLocalTime().toString(Qt::DefaultLocaleShortDate); case TR_LAST_ACTIVITY: return lastActivityString((torrent->isPaused() || torrent->isChecking()) ? -1 : torrent->timeSinceActivity()); case TR_AVAILABILITY: