constant CarbonInterval::PHP_DAYS_FALSE in Persian Date for Drupal 8 8.4
Before PHP 5.4.20/5.5.4 instead of FALSE days will be set to -99999 when the interval instance was created by DateTime:diff().
File
- src/
Library/ Carbon/ CarbonInterval.php, line 91
Class
- CarbonInterval
- A simple API extension for DateInterval. The implementation provides helpers to handle weeks but only days are saved. Weeks are calculated based on the total days of the current instance.
Namespace
Drupal\persian_date\Library\CarbonCode
const PHP_DAYS_FALSE = -99999;