Redundant time zone info displayed for Event
Created by: milankni
Steps to reproduce
- In Evolution calendar client, create a new event.
- Check the event in OwnCloud Calendar app.
Expected behaviour
The time zone info should be suppressed to something meaningfull: e.g. to show only Europe/Berlin or CEST.
Actual behaviour
OwnCloud Calendar app shows: freeassociation.sourceforge.net - Europe - Berlin ()
Apart from displaying redundant info, the text is too long and clutters the display frame of the calendar event.
The ICS as exported from Evolution:
BEGIN:VCALENDAR
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:/freeassociation.sourceforge.net/Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:STANDARD
TZNAME:CET
DTSTART:19701030T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CEST
DTSTART:19700327T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:20160504T133219Z-5766-1000-1-0@XXXX
DTSTAMP:20160504T132708Z
DTSTART;TZID=/freeassociation.sourceforge.net/Europe/Berlin:
20160505T090000
DTEND;TZID=/freeassociation.sourceforge.net/Europe/Berlin:
20160505T093000
SEQUENCE:2
SUMMARY:Test 09:00-09:30 CET DST
TRANSP:OPAQUE
CLASS:PUBLIC
CREATED:20160504T133254Z
LAST-MODIFIED:20160504T133254Z
X-EVOLUTION-CALDAV-HREF:
20160504T133219Z-5766-1000-1-0_XXXX-20160504T133254Z.ics
X-EVOLUTION-CALDAV-ETAG:"dbfc0bff47bc40c23dae5249610375b7"
END:VEVENT
END:VCALENDAR
Other info
Other client on Android (CalDAV sync + aCalendar) works fine: it displays "Central European Summer Time (GMT+2)" and in detailed view it offers a few other countries within the same time zone (Czech Republic, Deutschland, Netherlands).
After changing time and description (and leaving time zone info untouched) on Android and syncing back to ownCloud, the Calendar App shows: "Amsterdam (Europe)". The ICS exported from the Calendar app shows that the time zone text was corrected by Android:
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Amsterdam
X-LIC-LOCATION:Europe/Amsterdam
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20160504T133254Z
DTSTART;TZID=Europe/Amsterdam:20160505T100000
SUMMARY:Test 09:00-09:30 CET DST chng to 10 on Android xx
TRANSP:OPAQUE
CLASS:PUBLIC
STATUS:CONFIRMED
DTEND;TZID=Europe/Amsterdam:20160505T103000
LAST-MODIFIED:20160504T140030Z
DTSTAMP:20160504T140030Z
SEQUENCE:5
UID:20160504T133219Z-5766-1000-1-0@XXXX
END:VEVENT
END:VCALENDAR
Server configuration
PHP version: php 7.0.5-1 ownCloud version: (see ownCloud admin page) owncloud 9.0.0-1 Calendar version: (see ownCloud apps page) owncloud-app-calendar 1:1.0-1 Updated from an older ownCloud or fresh install: owncloud-app-calendar 1:0-1
Client configuration
Browser: Google Chrome 50.0.2661.94 m Operating system: Windows 7 CalDAV-clients: Evolution Mail.