updates index page date filter for template to fix date issue