diff options
author | Viktar Vauchkevich <victorenator@gmail.com> | 2013-01-20 10:19:53 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-01-20 10:19:53 +0100 |
commit | 288891f3e3ff3418d28ebc32c0369719a72836c8 (patch) | |
tree | c8815ec7a7e9a9fd102c69d8bec60b5fbd323c6c /src/history | |
parent | use find instead of manually specifying files+subdirs (which breaks when they... (diff) | |
download | rekonq-288891f3e3ff3418d28ebc32c0369719a72836c8.tar.xz |
Use default application's locale for date formatting in history
REVIEW: 108490
REVIEWED-BY: adjam
Diffstat (limited to 'src/history')
-rw-r--r-- | src/history/historymodels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp index 775aa320..4e1ca01f 100644 --- a/src/history/historymodels.cpp +++ b/src/history/historymodels.cpp @@ -453,7 +453,7 @@ QVariant HistoryTreeModel::data(const QModelIndex &index, int role) const QDate date = idx.data(HistoryModel::DateRole).toDate(); if (date == QDate::currentDate()) return i18n("Earlier Today"); - return date.toString(QL1S("dddd, MMMM d, yyyy")); + return date.toString(Qt::DefaultLocaleLongDate); } if (index.column() == 1) { |