

def time_format(value, format_string):
    'Convenience function'
    tf = TimeFormat(value)
    return tf.format(format_string)

dataset/ETHPy150Open django/django/django/utils/dateformat.py time_format/original