silverstripe-event-calendar
silverstripe-event-calendar copied to clipboard
Feed Event times always set to midnight for start and end time
A recent change to the getFeedEvents function in Calendar.php is setting all feed events to have a start and end time of midnight. This appears to have been changed to allow a comparison to work, however the original times from the feed are not being re-set after they are set to 00:00:00. The result of this is all feed events display 12:00 as their start and end time when displayed in the template.
The modified variables at ln 35 and 36 should be saved into a new pair of comparison specific variables which are then discarded, rather than saving the modified variables back to the object.
Will submit a patch shortly