Hi, yes I followed the instructions on the help page. I added the line os.environ["TZ"] = "Europe/Belfast"
to the bottom of the .bashhrc file and then at the top of my init.py I added the details advised on the help page:
from flask import Flask
from config import Config
from flask_mongoengine import MongoEngine
import os
import time
os.environ["TZ"] = "Europe/Belfast"
time.tzset()
app = Flask(__name__, instance_relative_config=True)
app.config['MONGODB_SETTINGS'] = {my connection settings in here}
db = MongoEngine(app)
if __name__ == '__main__':
app.run()
app.config.from_object(Config)
from application import routes
Is that the correct place to add it? That was on Friday and the server has been restarted multiple times since then while doing other work, but the access log seems to still be on utc time, thanks.