diff --git a/src/Interval.php b/src/Interval.php index e2e4d81..5acf6b5 100644 --- a/src/Interval.php +++ b/src/Interval.php @@ -111,6 +111,7 @@ public static function intervalToSeconds( if ($microseconds) { $dateInterval->f = $microseconds; } + return (new Carbon())->add($dateInterval)->diffInRealSeconds( new Carbon() );