issues
search
dreikanter
/
public-static
Programmer's approach to web content management
https://github.com/dreikanter/public-static
BSD 3-Clause "New" or "Revised" License
11
stars
1
forks
source link
Use Jinja2 to format dates
#21
Closed
dreikanter
closed
11 years ago
dreikanter
commented
11 years ago
env.filters['strftime'] = strftime
http://jinja.pocoo.org/docs/api/#custom-filters
http://stackoverflow.com/questions/4830535/python-how-do-i-format-a-date-in-jinja2/4830620#4830620
env.filters['strftime'] = strftime