It takes way too much effort to get a datetime object through jinja

Would this work for what you are trying to achieve?