Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

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