Skip to content

Commit

Permalink
Fix #798 - End date caluclation for full days events in fullcalendarIO
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Mar 18, 2024
1 parent 8324e36 commit 948e636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Partials/Month.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
tmp.id = {index.uid};
tmp.allDay = false;
tmp.title = <f:format.raw><c:jsQuote><f:render partial="{index.configuration.partialIdentifier}/Title" arguments="{index: index}" /></c:jsQuote></f:format.raw>;
tmp.start = '<f:format.date format="c">{index.startDateComplete}</f:format.date>';
tmp.end = '<f:format.date format="{f:if(condition: index.allDay, then: 'Y-m-d', else: 'c')}" base="{index.endDateComplete}">+1 day</f:format.date>';
tmp.start = '<f:format.date format="{f:if(condition: index.allDay, then: 'Y-m-d', else: 'c')}">{index.startDateComplete}</f:format.date>';
tmp.end = '<f:format.date format="{f:if(condition: index.allDay, then: 'Y-m-d', else: 'c')}" base="{index.endDateComplete}">+{f:if(condition: index.allDay, then: '1', else: '0')} day</f:format.date>';
<f:if condition="{index.allDay}">
tmp.allDay = true;
</f:if>
Expand Down

0 comments on commit 948e636

Please sign in to comment.