tianji icon indicating copy to clipboard operation
tianji copied to clipboard

Make timezone customized

Open PhantomMaa opened this issue 11 months ago • 1 comments

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.

PhantomMaa avatar Feb 26 '25 07:02 PhantomMaa

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

moonrailgun avatar Mar 09 '25 14:03 moonrailgun