1Panel
1Panel copied to clipboard
[Feature] Use Java environment to build a website. The time zone in the container is sometimes GMT and sometimes GMT+8. I hope you can customize the time zone to select the correct time
trafficstars
1Panel Version
v1.10.23-lts
Please describe your needs or suggestions for improvements
我部署了两台1panel,各有一个网站,都是bitnami/java:1.8镜像,2024-09-10 04:04:01的,一台在阿里云上,这台部署几个月了,时区是Etc/UTC,但是日志输出的时间是正确的。今天在本地服务器上部署了一台,时区也是Etc/UTC,但是日志输出的时间是错的。没太搞明白是什么原理,自己进容器切换的时区解决了。希望可以创建环境的时候自己选择时区。
Please describe the solution you suggest
创建环境的时候加一个选择时区的功能
Additional Information
No response
我们会在 v2 版本增加环境变量和挂载目录的配置 到时候可以把本地时区挂载到容器中
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
We will add environment variables and mount directory configurations to v2 version. At that time, we can mount the local time zone to the container.
v2.0.0 版本已发布。