We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 585b51b commit aac1aa7Copy full SHA for aac1aa7
1 file changed
app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt
@@ -257,8 +257,8 @@ class EventActivity : SimpleActivity() {
257
(DateTimeZone.forID(mEvent.getTimeZoneString()).getOffset(millis) - DateTimeZone.forID(original).getOffset(millis)) / 1000L
258
}
259
260
- val newStartTS = mEventStartDateTime.withSecondOfMinute(0).withMillisOfSecond(0).seconds() - offset
261
- val newEndTS = mEventEndDateTime.withSecondOfMinute(0).withMillisOfSecond(0).seconds() - offset
+ val newStartTS = mEventStartDateTime.seconds() - offset
+ val newEndTS = mEventEndDateTime.seconds() - offset
262
return Pair(newStartTS, newEndTS)
263
264
0 commit comments