From cdd39d566d5d054edf26bd142d6be05cb35451dd Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 26 Jul 2005 21:02:59 +0000 Subject: journal fix --- (limited to 'libkcal/icalformatimpl.cpp') diff --git a/libkcal/icalformatimpl.cpp b/libkcal/icalformatimpl.cpp index 3e28714..4794bc9 100644 --- a/libkcal/icalformatimpl.cpp +++ b/libkcal/icalformatimpl.cpp @@ -1023,6 +1023,9 @@ Journal *ICalFormatImpl::readJournal(icalcomponent *vjournal) readIncidence(vjournal,journal); + if ( !journal->dtStart().isValid() && journal->created().isValid() ) { + journal->setDtStart( journal->created() ); + } return journal; } -- cgit v0.9.0.2