summaryrefslogtreecommitdiffabout
path: root/libkcal
Side-by-side diff
Diffstat (limited to 'libkcal') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/icalformatimpl.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}