X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FTemporal.php;h=b5619cf49cbce0a273d61b608e6ff1e722fdf48e;hb=1e305e748d0bb88a0da0b0d54c8f9d02f0117de2;hp=c4a04d586cb266cd32d647617fe99056bdd420f6;hpb=097620b62799c96d610d73410ec07a6b8cdf82f0;p=friendica.git diff --git a/src/Util/Temporal.php b/src/Util/Temporal.php index c4a04d586c..b5619cf49c 100644 --- a/src/Util/Temporal.php +++ b/src/Util/Temporal.php @@ -1,6 +1,6 @@ diff($currentDate); - return $interval->format('%y'); + return (int) $interval->format('%y'); } /**