diff options
author | matgic78 <matgic78@gmail.com> | 2010-04-09 18:11:00 +0200 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2010-04-09 18:11:00 +0200 |
commit | 5f4f46a2ca51cd2d05a7c3cbb082f395462c7f7f (patch) | |
tree | b54ef72b983976a89c1f044ac74c0afaaa25e706 /src/newtabpage.cpp | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-5f4f46a2ca51cd2d05a7c3cbb082f395462c7f7f.tar.xz |
Better datetime for downloads page
Diffstat (limited to 'src/newtabpage.cpp')
-rw-r--r-- | src/newtabpage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp index e2837f94..043648e7 100644 --- a/src/newtabpage.cpp +++ b/src/newtabpage.cpp @@ -49,6 +49,7 @@ #include <KConfig> #include <KConfigGroup> #include <KDialog> +#include <KCalendarSystem> // Qt Includes #include <QFile> @@ -539,7 +540,8 @@ void NewTabPage::downloadsPage() div.appendInside("<strong>" + fName + "</strong>"); div.appendInside(" - "); - div.appendInside( item.dateTime.toString("'<em>'dd MMMM yyyy hh:mm'</em>'") ); + QString date = KGlobal::locale()->formatDateTime(item.dateTime, KLocale::FancyLongDate); + div.appendInside("<em>" + date + "</em>"); div.appendInside("<br/>"); div.appendInside(item.srcUrlString); |