Local time on n8n

Good afternoon. The n8n is installed on the Ubuntu 20 server. On the server the local time is set, but n8n thinks that I have less than three hours.
How can I explain to it that the time is local, +3 hours?
Thank you.
Regards, Alexandr.

Information on your n8n setup

  • **n8n version:0.172.0
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • **Running n8n via [Docker, npm, n8n.cloud, desktop app]:Docker

Hey @asuhan,

Did you set the TZ environment variable? I like to set Generic Timezone and TZ to make sure it is all good.

GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
TZ=${GENERIC_TIMEZONE}

Hi, Jon. Thank you. I inserted the record, restarted the server, but it didn’t work.
Anything else you need, please advise.

Thank you.
Regards, Alexandr.

Hey @asuhan,

That should do it, when you made the the change did you do a rebuild as well? Sometimes just a restart doesn’t set it.

Thank you!!