android - Recurring events show up in UTC time -


I'm working on sending a meeting invitation from my Android app.

is generated here

  BEGIN: VCALENDAR version: 2.0 PRODID: test // Outlook // EN: Start Request: VTIMEZONE TZID: GMT-6 Standard Time Start : Standard DTSTART: 16010101T020000 TZOFFSETFROM: -0500 TZOFFSETTO: -0600 RRUUUL = Via, BYMONTH = 11; BYDAY = 1 SU and: Standard Start: Daylight DTSTART: 16010101 TT 2000000 TJFFSTFOR: -0600 TJFFSTOO -0500RRUUL = Fryke = Yiarli; BYMONTH = 3; BYDAY = 2 S & U: Daylight and: VTIMEZONE BEGIN: VEVENT DESCRIPTION; Encoding = Cited - Print: This is a recurring event; Encoding = Cited - Printed: Recurring Brick DTSTART: 20100618T010000Z DTEND: 20100618T020000Z DTSTMP: 20100618T004215Z location; Encoding = quoted-printed: ATATPE; ROLE = REQ-participant; PARTSTAT = Need-Action; RSVP = true; CN = Sea: mailto: sagar.hatekar@gmail.com RRULE: freq = weekly; BYDAY = Se sequence: 0UID: 040000008200E00074C5B7101A82E008000000000000000000000000000000000000000000000 010000000251D69F4288A137B1891F782A1836CCB End: VEVENT End: VCALENDAR  

This event starts at 8 a.m. and ends at 9.00 CDT. However, when this meeting request is received in Outlook, the "IO" section reads as "Thursday, June 17, 2010 01:00 AM-02: 00AM GMT-5 Standard Time".

EDIT: I am sending a meeting request using the Android 2.x (eclair) source code for email and calendar.

I understood it by myself!

For recurring events, I add TZID ('defined' in VTIMEZONE) to DTSTART and DTEND and send local time.

This works!

Even Outlook does the same


Comments