Use new date/time format functions in Jinja

Also ensure that the result of a custom filters is unicode