原因是时区不同
在/etc/profile文件中增加一行 export TZ='CST-8'
使文件立即生效
source /etc/profile 或者 . /etc/profile
说明:此方法在vagrant虚拟机中有效果,其他有待验证。
原因是时区不同
在/etc/profile文件中增加一行 export TZ='CST-8'
使文件立即生效
source /etc/profile 或者 . /etc/profile
说明:此方法在vagrant虚拟机中有效果,其他有待验证。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。