heykatieben
1 year ago
203
12
Laravel

CarbonInterval cascade for humans not working?

Posted 1 year ago by heykatieben

I'm trying to do this:

CarbonInterval::seconds($seconds)->cascade()->forHumans();

This isn't working for whatever reason - it just displays $seconds, unformatted (i.e., 4948 seconds). Any ideas?

Please sign in or create an account to participate in this conversation.