diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt index 55e2fbc59..346104ea6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt @@ -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) {