Moved formatDuration to Distance