@register.filter
def fe(s, *args, **kwargs):

    s = six.text_type(s)

    args = [jinja2.escape(smart_text(v)) for v in args]

    for k in kwargs:
        kwargs[k] = jinja2.escape(smart_text(kwargs[k]))

    return jinja2.Markup(s.format(*args, **kwargs))
Return a date and time formatted according to the given pattern.
dataset/ETHPy150Open jbalogh/jingo/jingo/helpers.py/fe--crossover with--dataset/ETHPy150Open lad1337/XDM/site-packages/babel/support.py/Format.datetime