Alexandre Alapetite 10 years ago
parent a1adac617a
commit 1857d2121c
  1. 5
      lib/lib_date.php

@ -81,8 +81,9 @@ function _dateRelative($d1, $d2) {
}
/**
* 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, or false if error.
* Parameter $dateInterval is a string containing an ISO 8601 time 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) {
$dateInterval = trim($dateInterval);

Loading…
Cancel
Save