diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/Util.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/Util.js index 5f88260b25c13f0c1f7bbf41360e820da59e0540..b76d3b8fb9f4f60385bef6b794a75d5def660237 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/Util.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/Util.js @@ -466,7 +466,7 @@ var Util = new function() { var yearTimeAndOffset = dateAsString.split(" "); var yearParts = yearTimeAndOffset[0].split("-"); var timeParts = yearTimeAndOffset[1].split(":"); - return new Date(yearParts[0],yearParts[1],yearParts[2], timeParts[0], timeParts[1], timeParts[2]); + return new Date(yearParts[0],parseInt(yearParts[1])-1,yearParts[2], timeParts[0], timeParts[1], timeParts[2]); } return null; }