def format_datetime(dt):
    return dateformat.format(dt, 'r')
RFC 2822 datetime formatter
dataset/ETHPy150Open hzlf/openbroadcast/website/apps/tastypie_with_file_upload/utils/formatting.py/format_datetime