properly fill in event timezones at CalDAV synced events
This commit is contained in:
parent
90f1462f51
commit
46d7476757
|
@ -344,7 +344,7 @@ class CalDAVHelper(val context: Context) {
|
|||
put(CalendarContract.Events.DESCRIPTION, event.description)
|
||||
put(CalendarContract.Events.DTSTART, event.startTS * 1000L)
|
||||
put(CalendarContract.Events.ALL_DAY, if (event.getIsAllDay()) 1 else 0)
|
||||
put(CalendarContract.Events.EVENT_TIMEZONE, TimeZone.getDefault().toString())
|
||||
put(CalendarContract.Events.EVENT_TIMEZONE, TimeZone.getDefault().id.toString())
|
||||
put(CalendarContract.Events.EVENT_LOCATION, event.location)
|
||||
put(CalendarContract.Events.STATUS, CalendarContract.Events.STATUS_CONFIRMED)
|
||||
|
||||
|
|
Loading…
Reference in New Issue