summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViktar Vauchkevich <victorenator@gmail.com>2013-01-20 10:19:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-20 10:19:53 +0100
commit288891f3e3ff3418d28ebc32c0369719a72836c8 (patch)
treec8815ec7a7e9a9fd102c69d8bec60b5fbd323c6c /src
parentuse find instead of manually specifying files+subdirs (which breaks when they... (diff)
downloadrekonq-288891f3e3ff3418d28ebc32c0369719a72836c8.tar.xz
Use default application's locale for date formatting in history
REVIEW: 108490 REVIEWED-BY: adjam
Diffstat (limited to 'src')
-rw-r--r--src/history/historymodels.cpp2
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)
{