-rw-r--r-- | libkcal/incidencebase.cpp | 2 |
1 files changed, 2 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 | |||
@@ -204,6 +204,8 @@ QString IncidenceBase::dtStartDateStr(bool shortfmt) const | |||
204 | 204 | ||
205 | QString IncidenceBase::dtStartStr(bool shortfmt) const | 205 | QString 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 | } |
209 | 211 | ||