sibbl / hass-lovelace-kindle-screensaver

This tool generates a png from a Home Assistant Lovelace view, which can be displayed on a Kindle device which has the Online Screensaver plugin installed.
MIT License
311 stars 71 forks source link

Docker container time #41

Closed SurfingSpider closed 1 year ago

SurfingSpider commented 1 year ago

I have a stange case where I have a Home assistant dashboard with a calender on it. The time of the apointments are all offset by an hour when rendered by the docker container.

I suspect it is because of daylight saving or something. It I consle into the docker container and use the "date" command I see this is also an hour out and set to UTC time. I am in the uk and we are currently on BST British summer time.

Is there a way I can set the docker container to use BST not UTC?

Screenshot of kindle (NOTE I write into some event titles the times as well) 192 168 86

Screen shot of output of home assistant Screenshot 2022-07-22 113339

sibbl commented 1 year ago

Yes, Docker allows you to set the TZ=Europe/London environment variable.

SurfingSpider commented 1 year ago

Prefect. I just tried this and it worked. Thank you