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

Container timezone not correct #528

Closed
sivdead opened this issue Sep 14, 2023 · 4 comments · Fixed by #581
Closed

Container timezone not correct #528

sivdead opened this issue Sep 14, 2023 · 4 comments · Fixed by #581
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sivdead
Copy link

sivdead commented Sep 14, 2023

Describe the bug
when deploy with docker,the container's date is not correct

To Reproduce
Steps to reproduce the behavior:

docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
docker exec -it answer bash
date

Expected behavior
date should be consistent with host's date

Screenshots
image

@sivdead sivdead added the bug Something isn't working label Sep 14, 2023
@LinkinStars LinkinStars self-assigned this Sep 15, 2023
@LinkinStars
Copy link
Member

@sivdead The dete command looks show the UTC time.

@sivdead
Copy link
Author

sivdead commented Sep 15, 2023

@sivdead The dete command looks show the UTC time.

but i see the log date is also incorrectly..

@mingcheng
Copy link
Contributor

maybe we should add an optinon for timezone setting.

LinkinStars pushed a commit that referenced this issue Dec 22, 2023
close #528

---------

Signed-off-by: Adam Vollrath <[email protected]>
Co-authored-by: Adam Vollrath <[email protected]>
@fenbox fenbox added this to the v1.2.5 milestone Dec 22, 2023
@fenbox fenbox moved this from Todo to Done in Answer Roadmap Dec 22, 2023
@jihuayu
Copy link
Member

jihuayu commented Jan 9, 2024

Maybe we can close this issue via #581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants