Bug fix for Basic class date/time compare

This commit is contained in:
Clemens Schwaighofer
2019-06-07 16:40:12 +09:00
parent 6c1c528e2e
commit a0d5e18832

View File

@@ -1375,7 +1375,7 @@ class Basic
return false; return false;
} }
if (($hour < 0 || $hour > 24) || if (($hour < 0 || $hour > 24) ||
($min < 0 || $hour > 60) || ($min < 0 || $min > 60) ||
($sec && ($sec < 0 || $sec > 60)) ($sec && ($sec < 0 || $sec > 60))
) { ) {
return false; return false;