mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-14 01:34:59 +01:00
adding a comment
This commit is contained in:
parent
d5d56ec127
commit
9e7d99b822
@ -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 New Issue
Block a user