whe*_*ler 3 time virtualbox unity
Unity 在当前时区显示系统时间的方式似乎有问题。我正在 Windows 10 主机上的 VirtualBox 中运行 Ubuntu 16.04 来宾。我已经通过链接更改时区/etc/localtime到/usr/share/zoneinfo/America/New_York(因为sudo timedatectl set-timezone America/New_York没有做任何事情)。当我执行时timedatectl,它会报告正确的时间和时区:
$ timedatectl
Local time: Mon 2018-11-12 10:54:13 EST
Universal time: Mon 2018-11-12 15:54:13 UTC
RTC time: Mon 2018-11-12 15:54:12
Time zone: America/New_York (EST, -0500)
Network time on: yes
NTP synchronized: no
RTC in local TZ: no
Run Code Online (Sandbox Code Playgroud)
但是,无论出于何种原因,即使在重新启动 VM 之后,Unity仍然错误地报告了 UTC 时间:
如何让 Unity 正确显示本地时区的时间?
| 归档时间: |
|
| 查看次数: |
5868 次 |
| 最近记录: |