def format_human_readable_time(seconds):
    """ format the number of seconds given as a human readable value """
    if seconds < 60:
        return "%.0f seconds" % seconds
    if seconds < 60 * 60:
        minutes = seconds / 60
        return "%.0f minutes" % minutes
    hour = seconds / 60 / 60
    return "%.0f hours" % hour