We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3a393e commit a2dda0cCopy full SHA for a2dda0c
lib/src/main/kotlin/at/bitfire/synctools/mapping/calendar/AndroidEventProcessor.kt
@@ -147,7 +147,7 @@ class AndroidEventProcessor(
147
if (duration is Duration)
148
duration = Period.ofDays(duration.toDays().toInt())
149
tsEnd = (startDate + duration).toEpochDay() * TimeApiExtensions.MILLIS_PER_DAY
150
- //duration = null
+ duration = null
151
}
152
153
if (tsEnd != null) {
@@ -188,7 +188,7 @@ class AndroidEventProcessor(
188
// Some servers have problems with DURATION, so we always generate DTEND.
189
val zonedStart = dtStartDateTime.toZonedDateTime()
190
tsEnd = (zonedStart + duration).toInstant().toEpochMilli()
191
192
193
194
0 commit comments