From 288891f3e3ff3418d28ebc32c0369719a72836c8 Mon Sep 17 00:00:00 2001 From: Viktar Vauchkevich Date: Sun, 20 Jan 2013 10:19:53 +0100 Subject: Use default application's locale for date formatting in history REVIEW: 108490 REVIEWED-BY: adjam --- src/history/historymodels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.1