Commit c89046a9 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Populate events: don't set event time zone when it's not specified by Android

parent d1416a4a
Pipeline #13337943 passed with stage
in 2 minutes and 20 seconds
......@@ -159,13 +159,13 @@ abstract class AndroidEvent(
}
val start = DateTime(tsStart)
start.timeZone = tz
tz?.let { start.timeZone = it }
event.dtStart = DtStart(start)
when {
tsEnd != null -> {
val end = DateTime(tsEnd)
end.timeZone = tz
tz?.let { end.timeZone = it }
event.dtEnd = DtEnd(end)
}
duration != null -> event.duration = Duration(Dur(duration))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment