Use short locale format in playlist view.
Fixes issue #1451
(cherry picked from commit f8efbd81e4
)
This commit is contained in:
parent
0c401b6de9
commit
efc5f31d9b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue