hay-kot/homebox

Option to configure time zone of instance

Opened this issue · 5 comments

What is the problem you are trying to solve with this feature?

It would be nice to have the ability to add the time zone of the running instance to avoid having to manually configure this as a variable for the container

What is the solution you are proposing?

Add ability to configure the timezone of the Homebox instance

What alternatives have you considered?

You seem to be able to do this by passing the ENV TZ variable into the docker container settings

Additional context

No response

Contributions

  • I have searched through existing issues and feature requests to see if my idea has already been proposed.
  • If this feature is accepted, I would be willing to help implement and maintain this feature.
  • If this feature is accepted, I'm willing to sponsor the development of this feature.

Why do you need to set a timezone?

EDIT: Disregard. Might be associated with Issue 236

I just encountered a bug that might be related to this. I tried to create a new location and the timestamp says "Created in 4 hours". I'm in the Eastern US timezone which with daylight savings is -4 UTC. My guess is a timezone conflict between my Linux laptop and the container might be causing this.

image

I was looking to see if a bug report had been made already when I found this feature request and thought it might be relevant.

Hi @hay-kot ,

I have the same issue. If I create something the webpage shows it was created 2 hours ago.

I'm using docker, setting TZ or sharing the localtime as a volume didn't help.

@oxigen-dev the Docker image is not up to date with the latest repo. See #864

@oxigen-dev the Docker image is not up to date with the latest repo. See #864

Thanks @Teraskull , I hope the next release will come out soon :)