added date filters for templates