Commit 41a62a15 authored by Johannes Bill's avatar Johannes Bill

added escape for inconsitent data

parent 527646b3
...@@ -154,6 +154,10 @@ function wrapper(_epochSpan) { ...@@ -154,6 +154,10 @@ function wrapper(_epochSpan) {
} }
var split = date.split("."); var split = date.split(".");
if(split.length < 2) {
return null;
}
var month = parseInt(split[1]); var month = parseInt(split[1]);
var day = parseInt(split[0]); var day = parseInt(split[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment