mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
fix #776, fix repeating events from before 2001
This commit is contained in:
parent
ac0653de3a
commit
0c8fddd419
@ -206,11 +206,11 @@ class CalDAVHelper(val context: Context) {
|
|||||||
val originalInstanceTime = cursor.getLongValue(CalendarContract.Events.ORIGINAL_INSTANCE_TIME)
|
val originalInstanceTime = cursor.getLongValue(CalendarContract.Events.ORIGINAL_INSTANCE_TIME)
|
||||||
val reminders = getCalDAVEventReminders(id)
|
val reminders = getCalDAVEventReminders(id)
|
||||||
|
|
||||||
if (startTS.toString().length == 13) {
|
if (startTS.toString().length == 12 || startTS.toString().length == 13) {
|
||||||
startTS /= 1000L
|
startTS /= 1000L
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endTS.toString().length == 13) {
|
if (endTS.toString().length == 12 || endTS.toString().length == 13) {
|
||||||
endTS /= 1000L
|
endTS /= 1000L
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user