def conv_s2hms(seconds, short=False):
    """
    Converts seconds to hours, minutes and seconds.

    :param seconds: The time in seconds to use
    :type seconds: int

    :return: str
    """
    seconds = int(seconds)
    hours = seconds / 3600
    seconds -= 3600 * hours
    minutes = seconds / 60
    seconds -= 60 * minutes
    if hours == 0 and short is True:
        return "%02d:%02d" % (minutes, seconds)
    return "%02d:%02d:%02d" % (hours, minutes, seconds)