[CHG] format datetime in template.render()