def get_formatted_time(time_tuple):
    # days without leading zeros, please
    day = int(time.strftime('%d', time_tuple))
    tmp1 = time.strftime('%a,', time_tuple)
    tmp2 = time.strftime('%b %Y %H:%M:%S %Z', time_tuple)
    return "%s %s %s" % (tmp1, day, tmp2)
Formats the time tuple in a NNTP friendly way.
dataset/ETHPy150Open jpm/papercut/storage/strutil.py/get_formatted_time