diff --git a/app/Utilities/Date.php b/app/Utilities/Date.php index 11b488275..b169fcd69 100644 --- a/app/Utilities/Date.php +++ b/app/Utilities/Date.php @@ -27,6 +27,22 @@ class Date extends Carbon */ protected static $parseFunction = 'parseWithCurrentLocale'; + /** + * Indicates if months should be calculated with overflow. + * Global setting. + * + * @var bool + */ + protected static $monthsOverflow = false; + + /** + * Indicates if years should be calculated with overflow. + * Global setting. + * + * @var bool + */ + protected static $yearsOverflow = false; + public static function parseWithCurrentLocale($time = null, $timezone = null) { if (is_string($time)) {