Fix display of recurring events.

Fixes #56
master
Claus Niesen 5 years ago committed by Tom Hacohen
parent 41848aa7e3
commit ff47e38845

@ -63,6 +63,7 @@ class Calendar extends React.PureComponent<PropsType> {
const shift = next.subtractDateTz(event.startDate);
const ev = event.clone();
(ev as any).journalUid = (event as any).journalUid;
ev.startDate.addDuration(shift);
ev.endDate.addDuration(shift);
entries.push(ev);

Loading…
Cancel
Save