The previous implementation had use only the date-time part of dtstart_array, ignoring timezone information. This pull request provides a hopefully complete timezone implementation.
I also added support for all-day events. When displaying an all-day event the time part is uninteresting (00:00), plus the end date can be ambiguous to read (next day midnight). Timezone is an other twits in this story, because converting the timezone to local time often shifts the date. All of this issues are handled correctly in my patch.
I'm attaching some test .ics file I worked with.
test-events.zip
The previous implementation had use only the date-time part of dtstart_array, ignoring timezone information. This pull request provides a hopefully complete timezone implementation.
I also added support for all-day events. When displaying an all-day event the time part is uninteresting (00:00), plus the end date can be ambiguous to read (next day midnight). Timezone is an other twits in this story, because converting the timezone to local time often shifts the date. All of this issues are handled correctly in my patch.
I'm attaching some test .ics file I worked with. test-events.zip