fix #1406, properly handle dashes at event dates at importing

This commit is contained in:
tibbi 2021-07-06 14:15:17 +02:00
parent d2be7701f0
commit 77cffa5c64
1 changed files with 1 additions and 1 deletions

View File

@ -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 {