mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
do not reset secs and millis at checking if event changed
This commit is contained in:
@@ -257,8 +257,8 @@ class EventActivity : SimpleActivity() {
|
||||
(DateTimeZone.forID(mEvent.getTimeZoneString()).getOffset(millis) - DateTimeZone.forID(original).getOffset(millis)) / 1000L
|
||||
}
|
||||
|
||||
val newStartTS = mEventStartDateTime.withSecondOfMinute(0).withMillisOfSecond(0).seconds() - offset
|
||||
val newEndTS = mEventEndDateTime.withSecondOfMinute(0).withMillisOfSecond(0).seconds() - offset
|
||||
val newStartTS = mEventStartDateTime.seconds() - offset
|
||||
val newEndTS = mEventEndDateTime.seconds() - offset
|
||||
return Pair(newStartTS, newEndTS)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user