
This extension for the template engine Jinja2 adds a "now" tag that retrieves the current datetime in a given time zone from your templates. Time zone specifiers supported are "utc", "local", "[+-]HH[:][MM]" and formats supported by dateutil.tz.gettz (including IANA zones and GNU tz strings). A format string can be provided to control the output.