Add back date_format filter

This was not removed from the docs, so it should be supported for the
foreseeable future.
This commit is contained in:
Erik Johnson 2018-04-03 14:05:23 -05:00
parent a064a3e695
commit 266d13a665
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -60,6 +60,7 @@ def date_cast(date):
'Unable to parse {0}. Consider installing timelib'.format(date))
@jinja_filter('date_format')
@jinja_filter('strftime')
def strftime(date=None, format="%Y-%m-%d"):
'''