I want to display the difference between the current date and time with the one stored in the updated_at column. However, I want it to be human-friendly like:>
updated_at
incase of the date is in a string format, use laravel Carbon; e.g,
{{ \Carbon\Carbon::parse($on_revision->assignment->deadline)->diffForhumans() }}
Notice how I wrap my string in the carbon::parse()