Problem/Motivation
When the smart date being exported contains a set timezone, this error results:
TypeError: DateTime::setTimezone(): Argument #1 ($timezone) must be of type DateTimeZone
That's because the code is trying to pass a scalar timezone name, rather than a DateTimeZone object.
Proposed resolution
Please try the attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_ical_3368027.patch | 945 bytes | arpitk |
| views_ical.diff | 945 bytes | gribnif |
Comments
Comment #2
arpitk commentedComment #3
bburgTested and appears to work for me.
Comment #5
bburg