tianji
tianji copied to clipboard
Make timezone customized
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.
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.