mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-03-03 02:47:44 +01:00
set time 1:00 to imported all-day events to avoid some issues
This commit is contained in:
parent
feed23017c
commit
5bfd2cc0b9
@ -86,7 +86,7 @@ class IcsParser {
|
||||
curFlags = curFlags or FLAG_ALL_DAY
|
||||
val value = fullString.substring(fullString.lastIndexOf(':') + 1)
|
||||
val dateTimeFormat = DateTimeFormat.forPattern("yyyyMMdd")
|
||||
return dateTimeFormat.parseDateTime(value).seconds()
|
||||
return dateTimeFormat.parseDateTime(value).withHourOfDay(1).seconds()
|
||||
} else {
|
||||
val digitString = fullString.substring(1).replace("T", "").replace("Z", "")
|
||||
val dateTimeFormat = DateTimeFormat.forPattern("yyyyMMddHHmmss")
|
||||
|
Loading…
x
Reference in New Issue
Block a user