Skip to content

Commit

Permalink
Fix date format for "Last seen complete"
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 authored and sledgehammer999 committed Apr 22, 2020
1 parent c5a7aa7 commit 439a2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/transferlistmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 439a2ef

Please sign in to comment.