Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
运行中的系统,执行:
export TZ='Asia/Shanghai'
然后
# date Mon Dec 6 10:11:28 CST 2021
时区就变更为北京时间了。
编译的时候把 buildroot 的配置:
BR2_TARGET_LOCALTIME="Etc/UTC"
修改为:
BR2_TARGET_LOCALTIME="Asia/Shanghai"
这样开机就是北京时间,不用执行任何命令。
export TZ=CST-8
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号
行为准则 | 用户协议 | 隐私权政策