add datetime functionality in jinja2 target