summaryrefslogtreecommitdiffabout
path: root/libkcal
Side-by-side diff
Diffstat (limited to 'libkcal') (more/less context) (show 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
@@ -1025,2 +1025,5 @@ Journal *ICalFormatImpl::readJournal(icalcomponent *vjournal)
+ if ( !journal->dtStart().isValid() && journal->created().isValid() ) {
+ journal->setDtStart( journal->created() );
+ }
return journal;