Fixed function that translates seconds to human-readable time