summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libkcal/incidencebase.cpp2
-rw-r--r--libkcal/todo.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/libkcal/incidencebase.cpp b/libkcal/incidencebase.cpp
index 1e99082..b5fe2e6 100644
--- a/libkcal/incidencebase.cpp
+++ b/libkcal/incidencebase.cpp
@@ -205,4 +205,6 @@ QString IncidenceBase::dtStartDateStr(bool shortfmt) const
205QString IncidenceBase::dtStartStr(bool shortfmt) const 205QString IncidenceBase::dtStartStr(bool shortfmt) const
206{ 206{
207 if ( doesFloat() )
208 return KGlobal::locale()->formatDate(dtStart().date(),shortfmt);
207 return KGlobal::locale()->formatDateTime(dtStart(), shortfmt); 209 return KGlobal::locale()->formatDateTime(dtStart(), shortfmt);
208} 210}
diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp
index 39d16b6..a496404 100644
--- a/libkcal/todo.cpp
+++ b/libkcal/todo.cpp
@@ -192,4 +192,6 @@ QString Todo::dtDueDateStr(bool shortfmt) const
192QString Todo::dtDueStr(bool shortfmt) const 192QString Todo::dtDueStr(bool shortfmt) const
193{ 193{
194 if ( doesFloat() )
195 return KGlobal::locale()->formatDate(mDtDue.date(),shortfmt);
194 return KGlobal::locale()->formatDateTime(mDtDue, shortfmt); 196 return KGlobal::locale()->formatDateTime(mDtDue, shortfmt);
195} 197}