hammond
hammond copied to clipboard
Add Support to set Container's Timezone
It would be nice to be able to use an environment variable (such as TZ) to set the container's timezone. This would allow the logs to be displayed in the user's local timezone, instead of in UTC.
Can you please try setting the TZ env variable and check. I think that should work out of the box. Let me know if it doesnt.
I am actually already running with TZ=America/New_York because I also thought it might work out of the box. It did not affect the time stamps that I see in the logs.

That's strange. This is the right way of doing it and is supported our of the box by the backend framework.
Will debug and let you know.
Thanks and Regards
Akhil Gupta
On Fri, 13 Aug 2021, 6:48 pm serenewaffles, @.***> wrote:
I am actually already running with TZ=America/New_York because I also thought it might work out of the box. It did not affect the time stamps that I see in the logs.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/akhilrex/hammond/issues/36#issuecomment-898451813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMVPU2WHIGV7TPVP42XA3T4ULSBANCNFSM5B7BQHIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Not sure if it matters, but I am running this on a Raspberry Pi 4 cluster, running Ubuntu 20.04 LTS (x64) and microk8s.
If you require testing in that specific environment, I am more than happy to assist.
Let me debub this myself first. I have a similar setup just without kubernetes. Simple docker compose files for me.
Thanks and Regards
Akhil Gupta
On Sat, 14 Aug 2021, 5:50 pm serenewaffles, @.***> wrote:
Not sure if it matters, but I am running this on a Raspberry Pi 4 cluster, running Ubuntu 20.04 LTS (x64) and microk8s.
If you require testing in that specific environment, I am more than happy to assist.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/akhilrex/hammond/issues/36#issuecomment-898887316, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMVPTKUHTN3TXM4W4VGSLT4ZNP5ANCNFSM5B7BQHIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .