Skip to content
Snippets Groups Projects
Commit 072a9dcb authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix date validation

parent cdf5f792
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment