REPRODUCIBILITY: 100 %
OS VERSION: 4.5.0.25
HARDWARE: Xperia X, Xperia 10
UI LANGUAGE: Finnish
REGRESSION: no
DESCRIPTION:
If an iCalendar-file has EVENT with ALARM-component where TRIGGER is defined in UTC-format, Calendar does not show the reminder.
If there is only ALARM with TRIGGER in relative time format, the reminder is shown. For example, this kind of reminder is not shown
TRIGGER;VALUE=DATE-TIME:19970317T133000Z
but this is shown
TRIGGER:-PT30M
If a single event has two alarms, one in UTC-format and one in relative format, neither is shown.
Reminders are working, however.
[edit]
Reminders activated after the start of the event are not shown:
TRIGGER:PT30M
In case of two ALARMs, if the relative time format ALARM is written in the ics-file after the date-time format ALARM, no reminders are shown. But, if the relative format is specified first and the time is negative, it is shown.
[/edit]
============
PRECONDITIONS:
Fetch an iCalendar-file, where some event has ALARM defined in format TRIGGER;VALUE=DATE-TIME:yyyyMMddTHHmmss.
STEPS TO REPRODUCE:
- Import the iCalendar-file
- Check using Calendar, if the imported events have reminders
- Wait if reminders are triggered
EXPECTED RESULT:
Calendar shows reminders, whether they are given using format TRIGGER;VALUE=DATE-TIME:19970317T133000Z or TRIGGER:-PT30M.
ACTUAL RESULT:
Calendar shows reminder only if format TRIGGER:-PT30M is used [edit] and if the value is negative [/edit], but not if format VALUE=DATE-TIME is used. If both formats are used in two ALARMs in a single EVENT [edit] and the date-time format is given first [/edit], neither reminder time is shown.
MODIFICATIONS:
PatchManager - Show calendar event location
ADDITIONAL INFORMATION:
[edit]
The iCalendar file I used:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:icalendar-ruby
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Haapukerva - https://haapukerva.nimenhuuto.com/
X-PUBLISHED-TTL:PT1H
REFRESH-INTERVAL;VALUE=DURATION:PT1H
BEGIN:VEVENT
DTSTAMP:20240225T081716Z
UID:18133743@Nimenhuuto.com
DTSTART:20240316T093100
DTEND:20240316T235000
CREATED:20240224T200904Z
DESCRIPTION:https://haapukerva.nimenhuuto.com/events/18133743
LAST-MODIFIED:20240224T200904Z
LOCATION:
SEQUENCE:0
SUMMARY:date-time ------------
URL:https://haapukerva.nimenhuuto.com/events/18133743
CATEGORIES:Matsi
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:20240316T090106
ACTION:AUDIO
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20240225T081716Z
UID:18133772@Nimenhuuto.com
DTSTART:20240316T093500
DTEND:20240316T234500
CREATED:20240224T201256Z
DESCRIPTION:https://haapukerva.nimenhuuto.com/events/18133772
LAST-MODIFIED:20240224T201256Z
LOCATION:
SEQUENCE:0
SUMMARY:-PT33M ------------
URL:https://haapukerva.nimenhuuto.com/events/18133772
CATEGORIES:Matsi
BEGIN:VALARM
TRIGGER:-PT33M
ACTION:AUDIO
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20240225T081716Z
UID:18133775@Nimenhuuto.com
DTSTART:20240316T090100
DTEND:20240316T234600
CREATED:20240224T201256Z
DESCRIPTION:https://haapukerva.nimenhuuto.com/events/18133772
LAST-MODIFIED:20240224T201256Z
LOCATION:
SEQUENCE:0
SUMMARY:PT2M ------------
URL:https://haapukerva.nimenhuuto.com/events/18133772
CATEGORIES:Matsi
BEGIN:VALARM
TRIGGER:PT2M
ACTION:AUDIO
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20240225T081716Z
UID:18133773@Nimenhuuto.com
DTSTART:20240316T094100
DTEND:20240316T235900
CREATED:20240224T201256Z
DESCRIPTION:https://haapukerva.nimenhuuto.com/events/18133772
LAST-MODIFIED:20240224T201256Z
LOCATION:
SEQUENCE:0
SUMMARY:kaksi date-time ensin ------------
URL:https://haapukerva.nimenhuuto.com/events/18133772
CATEGORIES:Matsi
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:20240316T090400
ACTION:AUDIO
END:VALARM
BEGIN:VALARM
TRIGGER:-PT36M
ACTION:AUDIO
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20240225T081716Z
UID:18133777@Nimenhuuto.com
DTSTART:20240316T092900
DTEND:20240316T093000
CREATED:20240224T201256Z
DESCRIPTION:https://haapukerva.nimenhuuto.com/events/18133772
LAST-MODIFIED:20240224T201256Z
LOCATION:
SEQUENCE:0
SUMMARY:kaksi -pt23m ensin ------------
URL:https://haapukerva.nimenhuuto.com/events/18133772
CATEGORIES:Matsi
BEGIN:VALARM
TRIGGER:-PT23M
ACTION:AUDIO
END:VALARM
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:20240316T090700
ACTION:AUDIO
END:VALARM
END:VEVENT
END:VCALENDAR
[/edit]