fix #1406, properly handle dashes at event dates at importing
This commit is contained in:
parent
d2be7701f0
commit
77cffa5c64
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue