win

以管理员身份打开CMD窗口输入以下命令:

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

然后就可以了,但BIOS仍然是错误的时间,不过不常进去BIOS不用在意。

mac

在终端输入一下命令:

1
sudo sh -c "$(curl -kfsSL https://raw.githubusercontent.com/hieplpvip/LocalTime-Toggle/master/fix_time_osx.sh)"

然后执行这个脚本即可。