Alexandre Alapetite 10 years ago
parent ecac55d3d3
commit a1adac617a
  1. 2
      lib/lib_date.php

@ -82,7 +82,7 @@ function _dateRelative($d1, $d2) {
/** /**
* Parameter $dateInterval is a string containing an ISO 8601 time intervals. * Parameter $dateInterval is a string containing an ISO 8601 time intervals.
* Returns an array with the minimum and maximum Unix timestamp of this interval, or null if open interval. * Returns an array with the minimum and maximum Unix timestamp of this interval, or null if open interval, or false if error.
*/ */
function parseDateInterval($dateInterval) { function parseDateInterval($dateInterval) {
$dateInterval = trim($dateInterval); $dateInterval = trim($dateInterval);

Loading…
Cancel
Save