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 96ef29345..9df8d5ffe 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 @@ -194,7 +194,7 @@ class IcsImporter(val activity: SimpleActivity) { private fun getTimestamp(fullString: String): Long { return try { if (fullString.startsWith(';')) { - val value = fullString.substring(fullString.lastIndexOf(':') + 1) + val value = fullString.substring(fullString.lastIndexOf(':') + 1).replace(" ", "") if (!value.contains("T")) { curFlags = curFlags or FLAG_ALL_DAY }