adding a comment
This commit is contained in:
parent
d5d56ec127
commit
9e7d99b822
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ class CalDAVHandler(val context: Context) {
|
|||
val originalInstanceTime = cursor.getLongValue(CalendarContract.Events.ORIGINAL_INSTANCE_TIME)
|
||||
val reminders = getCalDAVEventReminders(id)
|
||||
|
||||
// make sure all-day events start at 5am in the users timezone
|
||||
if (allDay == 1 && timeZone == "UTC") {
|
||||
val offset = DateTimeZone.getDefault().getOffset(System.currentTimeMillis()) / 1000
|
||||
val FIVE_HOURS = 5 * 60 * 60
|
||||
|
|
Loading…
Reference in a new issue