From 446ea98a9f6550c4a3e64bcfc6aab8e8b58776e8 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 30 Jan 2005 10:57:34 +0000 Subject: bugs from last commit fixed --- (limited to 'libkcal/todo.cpp') diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index 7362bdf..7d04793 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp @@ -300,13 +300,14 @@ QDateTime Todo::completed() const return mCompleted; } -QString Todo::completedStr() const +QString Todo::completedStr( bool shortF ) const { - return KGlobal::locale()->formatDateTime(mCompleted); + return KGlobal::locale()->formatDateTime(mCompleted, shortF); } void Todo::setCompleted(const QDateTime &completed) { + qDebug("Todo::setCompleted "); mHasCompletedDate = true; mPercentComplete = 100; mCompleted = getEvenTime(completed); -- cgit v0.9.0.2