Merge "Fix bug #2585298 (google calendar sync clears eventTimezone field for recurring allDay events)" into gingerbread

This commit is contained in:
Fabrice Di Meglio
2010-09-27 02:16:01 -07:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 3 deletions

View File

@@ -181,7 +181,9 @@ public class RecurrenceSet {
boolean inUtc = start.parse(dtstart);
boolean allDay = start.allDay;
if (inUtc) {
// We force TimeZone to UTC for "all day recurring events" as the server is sending no
// TimeZone in DTSTART for them
if (inUtc || allDay) {
tzid = Time.TIMEZONE_UTC;
}