Re:The Windows Subsystem for Linux is now open source
by cjm42 on Monday May 19, 2025 @05:03PM
(#44034830)
The most reliable fix is to get Windows to use UTC for the hardware clock, which is usually the default on Linux. (It's more reliable because it means the hardware clock doesn't need to be adjusted when DST begins or ends, so there's no need for the OSs to cooperate on that.)
https://wiki.archlinux.org/title/System_time#UTC_in_Microsof...
Re:The Windows Subsystem for Linux is now open source
by lxgr on Monday May 19, 2025 @05:32PM
(#44035121)
That flag has been broken for at least several Windows versions, unfortunately. A shame, given that that's the only sane way of using the RTC in the presence of DST or time zone shifts...
That's exactly the type of Windows-ism I'm talking about. Two options (use UTC or the local time), and Windows chose to pick the nonsensical one.
Re:The Windows Subsystem for Linux is now open source
by iLemming on Monday May 19, 2025 @04:46PM
(#44034678)
Yeah, well, I use ntfs in Linux. It somehow knows how to treat the partitions. Even though it can't fix the issues when they arise (which almost never happens) — there's no chkdsk for Linux. So, I just don't understand why Windows can't automatically sync the clock (as it explicitly set to do it) when it boots? Why does one have to get creative to fix the darn clock? If I can't even trust the OS to manage the time correctly, what can I trust it with, if anything at all?
Re:The Windows Subsystem for Linux is now open source
by p_ing on Monday May 19, 2025 @06:59PM
(#44035843)
Windows syncs the clock to time.windows.com OOTB. This can be changed to any time provider.
https://learn.microsoft.com/en-us/windows-server/networking/...
Re:The Windows Subsystem for Linux is now open source
by elictronic on Monday May 19, 2025 @06:57PM
(#44035831)
I have the same issue and don’t dual boot.
Dual booting will do that because linux & windows treat the system clock differently. From what I recall one of them will set it directly to the local time and the other always sets it to UTC and then applies the offset.