Relative Content

Tag Archive for timelaravel-bladelaravel-11php-8.3

Carbon Laravel class not working properly when shortening seconds, minutes, and hours

My problem is probably simple, instead of getting 1s, 2s, 3s, … 59s, then 1m, 2m, 3m, … 59m, then 1h, 2h, … 23h, 1d. I’m only getting the ones of that, meaning I only get 1s, 1m, 1h. For examply, 1m doesn’t turn into 2m, it only turns into 1h after an hour passed. I’m kinda sure it’s because of the custom.php file I created.
Any help, please?