Javascript – Convert a number duration to human readable format
I have a duration integer in seconds that I want to display in a human readable using vanilla js. For example: Duration Human readable 24 24 seconds 430 7 minutes and 10 seconds 600 10 minutes 3600 1 hour 7477…