From 072a9dcb164706bcbad1062e27706fb9736d8f3c Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Wed, 3 Jul 2019 09:57:38 +0200 Subject: [PATCH] fix date validation --- process/Date_lib/process.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/process/Date_lib/process.js b/process/Date_lib/process.js index 17211f90c49..273d18b4091 100644 --- a/process/Date_lib/process.js +++ b/process/Date_lib/process.js @@ -20,7 +20,8 @@ function DateUtils() {} DateUtils.validateBeginnBeforeEnd = function(pStart, pEnd) { if (!pStart || !pEnd) return true; - return pStart <= pEnd; + + return parseInt(pStart) <= parseInt(pEnd); } DateUtils.getValidationFailString = function() { -- GitLab