Format duration in minutes to a human-readable string.
formatDuration(150) // "2h 30m"formatDuration(45) // "45m"formatDuration(0) // "0m" Copy
formatDuration(150) // "2h 30m"formatDuration(45) // "45m"formatDuration(0) // "0m"
Format duration in minutes to a human-readable string.