Fix date format for "Last seen complete"

Closes #12462.
This commit is contained in:
Chocobo1 2020-04-10 12:45:13 +08:00 committed by sledgehammer999
parent c5a7aa7668
commit 439a2ef597
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

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