Commit 4789edfd authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team

model.js fixed timestamp dates that were all broken due to previous commit

parent 571bff50
......@@ -1461,7 +1461,7 @@ Model.prototype = {
break;
case "sampling_date":
if ((typeof this.samples.timestamp != 'undefined') && this.samples.timestamp[timeID] && this.samples.timestamp[timeID != "None"])
if ((typeof this.samples.timestamp != 'undefined') && this.samples.timestamp[timeID] && this.samples.timestamp[timeID] != "None")
result = this.samples.timestamp[timeID].split(" ")[0]
break;
......
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