在 WSL2 中运行 Ubuntu 我的时钟不知何故搞砸了。当我尝试使用以下命令再次设置它时:
sudo dpkg-reconfigure tzdata
它仍然比实际时间晚大约一个小时。
屏幕截图显示了 Windows 中的实时时间,以及 Windows 通过 RDP 连接到运行 WSL2/Ubuntu 的计算机的时间。
紫色终端窗口是 Ubuntu 有问题。
对于 Linux 来说不是很好;知道是什么导致时间设置错误吗?
time timezone windows-subsystem-for-linux
time ×1
timezone ×1
windows-subsystem-for-linux ×1