Implemented generic date views with templates and new 1.6 syntax.