def time_format(value, format_string):
    tf = TimeFormat(value)
    return tf.format(format_string)
Convenience function
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/dateformat.py/time_format