mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 20:30:58 +01:00
do not reset secs and millis at checking if event changed
This commit is contained in:
parent
585b51b0eb
commit
aac1aa7c32
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user