-rw-r--r-- | libkcal/todo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index 39d16b6..a496404 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp | |||
@@ -191,6 +191,8 @@ QString Todo::dtDueDateStr(bool shortfmt) const | |||
191 | 191 | ||
192 | QString Todo::dtDueStr(bool shortfmt) const | 192 | QString 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 | } |
196 | // retval 0 : no found | 198 | // retval 0 : no found |