diff --git a/htdocs/core/lib/date.lib.php b/htdocs/core/lib/date.lib.php index 278b782ed4a..878c4fdfa50 100644 --- a/htdocs/core/lib/date.lib.php +++ b/htdocs/core/lib/date.lib.php @@ -1024,7 +1024,7 @@ function num_public_holiday($timestampStart, $timestampEnd, $country_code = '', */ function num_between_day($timestampStart, $timestampEnd, $lastday = 0) { - if ($timestampStart < $timestampEnd) { + if ($timestampStart <= $timestampEnd) { if ($lastday == 1) { $bit = 0; } else {