properly fill in event timezones at CalDAV synced events

This commit is contained in:
tibbi 2019-01-07 20:08:46 +01:00
parent 90f1462f51
commit 46d7476757
1 changed files with 1 additions and 1 deletions

View File

@ -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)