-
-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set timezone (now UTC set from jvm.options) #314
Comments
Hi, When you are talking about timezone, want date to you want to have on your timezone ? Thanks |
Thanks for the really fast reply! I see that the timestamp for messages in a given topic in the UI are 2 hours in the past which also applies to timestamps in the access_log. EDIT: I want the timezone to be GMT+1. |
will be in the |
Superb!!! |
Unfortunately this doesn't work :( Only solution thus far is to copy the existing jvm.options and set the timezone there and use that file, which gets injected as env-var (as per the README). |
Really sure ? Can you give how do you configure it ? |
This is my docker run command:
Which results in this being logged (see the timestamp of journalctl (host system) vs the timestamp IN the logmessage):
What DID work though was to override the whole JVM_OPTS file with my own custom jvm.options file and set the timezone there (as per your README instructions). |
Slightly related question. Is it possible to use browser timezone in the UI, irrespective of the timezone used in the server? |
When the ui was rework in React, this part was forgotten, I reopen, |
Waiting for the UI changes. :) |
Any updates? |
I would like to set my own timezone. I'm running AKHQ inside a Docker-container, in which I've volume mounted the /etc/timezone file from the host. This has a different timezone set than the default (UTC), but didn't work. Some more digging lead me to https://github.com/tchiotludo/akhq/blob/dev/docker/app/jvm.options where the timezone is set within the JVM.
Without wanting to fork this project and the need to manage my internal CI/CD pipeline for this awesome tool, I was wondering if there is a way to override this timezone setting, or that we could implement an option in the application.yml to set our own timezone. Perhaps people here have found a different solution?
The text was updated successfully, but these errors were encountered: