Jul 10, 2019
Issue: Google Calendar ignores Alarms (Notifications) in Events!
I am trying to send an event reminder from my Web application to a Gmail account.
The event is successfully added to Google Calendar, but it does not import the correct Trigger time reminder, which is always set to 30 minutes.
The following code represents two different .ics files. In fact, event is added for each file but not with the exact Trigger time.

BEGIN:VCALENDAR
PRODID:-//Ben Fortuna//iCal4j1.0//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTAMP:20190710T160855Z
DTSTART:20190810T111500Z
DTEND:20190810T145000Z
SUMMARY:Your flight from London (Heathrow) to Athens (El. Venizelos)
ORGANIZER:MAILTO:noreply@aegeanair.com
ATTENDEE;ROLE=REQ-PARTICIPANT;CN=benanesmalek@gmail.com:MAILTO:benanesmalek@gmail.com
TZID:Europe/London
UID:d5d0cd63-667e-4bce-86c5-053012c7a23d
BEGIN:VALARM
TRIGGER:-P0DT3H40M0S
ACTION:DISPLAY
DESCRIPTION:Your flight from London (Heathrow) to Athens (El. Venizelos)
END:VALARM
END:VEVENT
END:VCALENDAR
--------------------------------
BEGIN:VCALENDAR
PRODID:-//Ben Fortuna//iCal4j1.0//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTAMP:20190710T145600Z
DTSTART:20190809T103000Z
DTEND:20190809T143000Z
SUMMARY:Your flight from Athens (El. Venizelos) to London (Heathrow)
ORGANIZER:MAILTO:noreply@aegeanair.com
ATTENDEE;ROLE=REQ-PARTICIPANT;CN=benanesmalek@gmail.com:MAILTO:benanesmalek@gmail.com
TZID:Europe/London
UID:ed4240dd-6c69-48db-bb0d-206726e9d809
BEGIN:VALARM
TRIGGER:-PT3H40M
ACTION:DISPLAY
DESCRIPTION:Your flight from Athens (El. Venizelos) to London (Heathrow)
END:VALARM
END:VEVENT
END:VCALENDAR
I would be very grateful if you could help me to identify the issue.
Thank you!
Details
Community content may not be verified or up-to-date. Learn more.
All Replies (3)