Skip to content
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

Timezone Error in 1.7.1 #2341

Closed
jasimancas opened this issue Nov 15, 2019 · 5 comments
Closed

Timezone Error in 1.7.1 #2341

jasimancas opened this issue Nov 15, 2019 · 5 comments

Comments

@jasimancas
Copy link

Hi, i have a problem with datetime in docker, Im living in Europe/Madrid, But the time zone of the container shows one hour less.

Bug? Bad config?

I have: "-TZ=Europe/Madrid

I have tried with /etc/locatime:etc/localtime:ro and nothing...

Debug Info

zigbee2mqtt version: 1.7.1
CC253X firmware version: latest sourcerouting

Koenkk added a commit that referenced this issue Nov 15, 2019
@Koenkk
Copy link
Owner

Koenkk commented Nov 15, 2019

Should be fixed in latest dev! thanks

@iStitch07
Copy link

Hello.
I can't to set log timestamp to local time too
Have in docker-compose.yml
environment:
- TZ=Europe/Moscow
volumes:
- ./zigbee2mqtt:/app/data
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro

and if I attach console, command data show me correct my local time. But in log I anyway have timestamp GMT as I think

@Koenkk
Copy link
Owner

Koenkk commented Nov 25, 2019

@iStitch07 I cannot reproduce this with the latest dev, can you?

@iStitch07
Copy link

@Koenkk latest-dev work perfect in this plane
zigbee2mqtt:info 2019-11-25 21:54:38: Logging to directory: '/app/data/log/2019-11-25.21-54-38'
zigbee2mqtt:info 2019-11-25 21:54:39: Starting zigbee2mqtt version 1.7.1+dev (commit #7d1635a)
zigbee2mqtt:info 2019-11-25 21:54:39: Starting zigbee-herdsman...

I have this error on just latest, sorry )

@Koenkk
Copy link
Owner

Koenkk commented Nov 26, 2019

Cool, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants