[Others] 系统时间
Tofloor
poster avatar
fenglin2021
deepin
2021-01-17 03:50
Author

安装系统的时候已经设置了时区和时间,但是每次启动如果没有网络的话系统时间不正确,只有在有网络的情况下系统时间才显示正确时间。请问这是什么原因?

Reply Favorite View the author
All Replies
guaguale
deepin
2021-01-17 03:58
#1

看下控制中心的设置,自动同步开启了嘛?

Reply View the author
Ziggy
deepin
2021-01-17 04:33
#2

有没有开时间自动同步配置?

Reply View the author
SamLukeYes
deepin
2021-01-17 04:37
#3

与 Windows 共存?建议把 Windows 的时间标准设置为 UTC。

Reply View the author
寰宇ζ
deepin
2021-01-17 05:24
#4
It has been deleted!
寰宇ζ
deepin
2021-01-17 05:36
#5

推荐使用这个方法。打开管理员模式的命令提示符或PowerShell(在Windows+X快捷菜单中),输入以下命令:

reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1

 

 

原理就是:在注册表项HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation中添加一个名为RealTimeIsUniversal的值,类型为REG_DWORD,数据为1。此项的作用就是让Windows将硬件时间当作UTC,与Ubuntu的默认设置一致。

 

重启系统后即可生效。

 

 

 

 

https://my.oschina.net/chipo/blog/4767311

 

 

 

 

Reply View the author