@register
def date(a_date, format=UNSET):
    if format is UNSET:
        format = get_default('DEFAULT_DATE_FORMAT')
    return datetime(a_date, format=format)
Filter which formats given datetime/date using given format option.
dataset/ETHPy150Open willowtreeapps/tango-core/tango/filters.py/date