put dates into context processor instead