| Summary: | Date format in history doesn't use locale setting | ||
|---|---|---|---|
| Product: | [Applications] juk | Reporter: | Christophe Teyssier <chris> |
| Component: | general | Assignee: | Scott Wheeler <wheeler> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Mandrake RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Christophe Teyssier
2003-08-31 20:59:34 UTC
Subject: kdemultimedia/juk CVS commit by wheeler: Use the date formate from KGlobal. CCMAIL:63531-done@bugs.kde.org M +4 -3 historyplaylist.cpp 1.5 --- kdemultimedia/juk/historyplaylist.cpp #1.4:1.5 @@ -17,4 +17,5 @@ #include <klocale.h> +#include <kglobal.h> #include <kdebug.h> @@ -60,5 +61,5 @@ HistoryPlaylistItem::HistoryPlaylistItem m_dateTime(QDateTime::currentDateTime()) { - setText(0, m_dateTime.toString(LocalDate)); + setText(0, KGlobal::locale()->formatDateTime(m_dateTime)); } @@ -67,5 +68,5 @@ HistoryPlaylistItem::HistoryPlaylistItem m_dateTime(QDateTime::currentDateTime()) { - setText(0, m_dateTime.toString(LocalDate)); + setText(0, KGlobal::locale()->formatDateTime(m_dateTime)); } @@ -78,5 +79,5 @@ void HistoryPlaylistItem::setDateTime(co { m_dateTime = dt; - setText(0, m_dateTime.toString(LocalDate)); + setText(0, KGlobal::locale()->formatDateTime(m_dateTime)); } |