Use short locale format in playlist view.

Fixes issue #1451
(cherry picked from commit f8efbd81e4)
This commit is contained in:
Glad Olus 2013-08-29 16:30:20 +02:00 committed by Arnaud Bienner
parent 0c401b6de9
commit efc5f31d9b
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ QString Ago(int seconds_since_epoch, const QLocale& locale) {
if (days_ago <= 7)
return tr("%1 days ago").arg(days_ago);
return then.date().toString(locale.dateFormat());
return then.date().toString(locale.dateFormat(QLocale::ShortFormat));
}
QString PrettyFutureDate(const QDate& date) {