From ae324d37ddb119fc39b0f166523844824ecaa363 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Tue, 21 May 2019 15:34:58 +0200 Subject: [PATCH] date validation: bugfix --- process/Date_lib/process.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/process/Date_lib/process.js b/process/Date_lib/process.js index 7173ddf876..17211f90c4 100644 --- a/process/Date_lib/process.js +++ b/process/Date_lib/process.js @@ -15,12 +15,11 @@ function DateUtils() {} * @param pStart {Number} * @param pEnd {Number} * - * @result {Boolean|null} Boolean if it was able to check smth or null if the input values were not valid + * @result {Boolean} Boolean if it was able to check. True if one of them is null / "" because this should be checked by mandatory if needed. */ DateUtils.validateBeginnBeforeEnd = function(pStart, pEnd) { if (!pStart || !pEnd) - return null; - + return true; return pStart <= pEnd; } -- GitLab