Have you tried `app.config['TIMEZONE']` instead of `app.config['tz']` to see if that fixes it?