JeroenvO / ics-parser

Automatically exported from code.google.com/p/ics-parser
0 stars 0 forks source link

Replacing description with description value from VALARM section #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When is use VALARM section, description is replaced with description from 
there. 

For example, for this event

BEGIN:VEVENT
DTSTAMP:20120704T141257Z
UID:040000008200E00074C5B7101A82E00800000000314FF44
DESCRIPTION:Test Description
PRIORITY:5
SUMMARY:Test
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-LABEL:0
CLASS:PUBLIC
SEQUENCE:0
X-ALARM-TRIGGER:-PT15M
X-NEXT-ALARM:20120707T054500Z
DTSTART;TZID="Amsterdam, Belgrade, Berlin":20120707T080000
DTEND;TZID="Amsterdam, Belgrade, Berlin":20120707T130000
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Alarm Description
TRIGGER;RELATED=START:-PT15M
END:VALARM
END:VEVENT

return description "Alarm Description" and not "Test Description"

Sorry for my English...

Original issue reported on code.google.com by leninzpr...@gmail.com on 4 Jul 2012 at 2:55