mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
trim times before parsing
This commit is contained in:
@@ -322,7 +322,7 @@ class IcsImporter(val activity: SimpleActivity) {
|
||||
|
||||
Parser().parseDateTimeValue(value)
|
||||
}
|
||||
fullString.startsWith(":") -> Parser().parseDateTimeValue(fullString.substring(1))
|
||||
fullString.startsWith(":") -> Parser().parseDateTimeValue(fullString.substring(1).trim())
|
||||
else -> Parser().parseDateTimeValue(fullString)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
|
Reference in New Issue
Block a user