fixing the timezone at one more place
This commit is contained in:
parent
46d7476757
commit
79f8b3dade
|
@ -178,7 +178,6 @@ class CalDAVHelper(val context: Context) {
|
|||
CalendarContract.Events.DESCRIPTION,
|
||||
CalendarContract.Events.DTSTART,
|
||||
CalendarContract.Events.DTEND,
|
||||
CalendarContract.Events.EVENT_TIMEZONE,
|
||||
CalendarContract.Events.DURATION,
|
||||
CalendarContract.Events.ALL_DAY,
|
||||
CalendarContract.Events.RRULE,
|
||||
|
@ -414,7 +413,7 @@ class CalDAVHelper(val context: Context) {
|
|||
put(CalendarContract.Events.DTSTART, occurrenceTS)
|
||||
put(CalendarContract.Events.DTEND, occurrenceTS + (event.endTS - event.startTS))
|
||||
put(CalendarContract.Events.ORIGINAL_ID, event.getCalDAVEventId())
|
||||
put(CalendarContract.Events.EVENT_TIMEZONE, TimeZone.getDefault().toString())
|
||||
put(CalendarContract.Events.EVENT_TIMEZONE, TimeZone.getDefault().id.toString())
|
||||
put(CalendarContract.Events.ORIGINAL_INSTANCE_TIME, occurrenceTS * 1000L)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue