mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix #1406, properly handle dashes at event dates at importing
This commit is contained in:
@@ -97,7 +97,7 @@ class Parser {
|
||||
}
|
||||
|
||||
fun parseDateTimeValue(value: String): Long {
|
||||
val edited = value.replace("T", "").replace("Z", "")
|
||||
val edited = value.replace("T", "").replace("Z", "").replace("-", "")
|
||||
return if (edited.length == 14) {
|
||||
parseLongFormat(edited, value.endsWith("Z"))
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user