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

support time zone #3241

Merged
merged 1 commit into from
Sep 13, 2022
Merged

support time zone #3241

merged 1 commit into from
Sep 13, 2022

Conversation

zc2638
Copy link

@zc2638 zc2638 commented Jul 14, 2022

When I set other time zone it always doesn't take effect, tzdata is missing in alpine image.

@tphoney
Copy link

tphoney commented Sep 6, 2022

Do you set the timezone after with an environment variable, like this ?

-e TZ=Europe/London

@zc2638
Copy link
Author

zc2638 commented Sep 6, 2022

Do you set the timezone after with an environment variable, like this ?

-e TZ=Europe/London

Yes.

@tphoney
Copy link

tphoney commented Sep 13, 2022

tested this locally, works well.

Many thanks @zc2638 🥂

@tphoney tphoney merged commit d3dad57 into harness:master Sep 13, 2022
@tphoney
Copy link

tphoney commented Sep 13, 2022

i added docs as well drone/docs#577

@zc2638 zc2638 deleted the feat/tzdata branch September 13, 2022 11:18
@TankNee
Copy link

TankNee commented Jun 6, 2023

I meet the same issue in latest linux amd64 docker image, I have set the TZ environment variable in my docker-compose.yml file and it doesn't work correctly.
image
The following is drone page time and my system time.
image

ivanvc pushed a commit to ivanvc/drone that referenced this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants