Skip to content

Make timezone customized #166

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

PhantomMaa
Copy link

Problem:

Currently, Docker images built on Alpine lack the timezone package: tzdata. Upon startup, they can only operate in UTC time and cannot be customized with user-specified timezones.

Solution:

  • Install tzdata during image build.
  • Default to the Shanghai timezone (TZ=Asia/Shanghai).
  • Allow users to customize other timezones via environment variables.

@moonrailgun
Copy link
Contributor

looks intersting.
but tianji is planing with receive visitor's timezone and return custom info with user's timezone content
and have been create a options in workspace config.

did you mind which problem did you wanna resolve?

Here is option setting.

image

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

Successfully merging this pull request may close these issues.

2 participants