diff options
Diffstat (limited to 'libkcal/event.cpp')
-rw-r--r-- | libkcal/event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/event.cpp b/libkcal/event.cpp index 0f286e7f6..5bd3a8188 100644 --- a/libkcal/event.cpp +++ b/libkcal/event.cpp @@ -87,8 +87,8 @@ TQDateTime Event::dtEnd() const if (hasEndDate()) return mDtEnd; if (hasDuration()) return dtStart().addSecs(duration()); - kdDebug(5800) << "Warning! Event '" << summary() - << "' has neither end date nor duration." << endl; + // It is valid for a VEVENT to be without a DTEND. See RFC2445, Sect4.6.1. + // Be careful to use Event::dateEnd() as appropriate due to this possibility. return dtStart(); } |