mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
set time 1:00 to imported all-day events to avoid some issues
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user