Remix.run Logo
bigstrat2003 3 days ago

I wouldn't call that a Linux issue or a Windows issue. It's kind of like driving on the left or right side of the road: either way is fine, you just need to have everyone agree on which way they are going to use.

Borealid 3 days ago | parent | next [-]

There in an advantage to using UTC: when legislatures change the rules about which time zone is which, or you move your computer while it's off, the time remains correct.

Using local time for the RTC theoretically makes it simpler to schedule wakeups at user friendly times, but that seems less impactful.

eviks 2 days ago | parent | prev [-]

The better solution is allow config instead of trying to agree, and the best is auto defect and apply the correct config are the OS level

uncircle 2 days ago | parent [-]

How do you autodetect the timezone, when the RTC clock doesn’t have one?

On Linux with one command you can switch between UTC or local RTC time to match Windows. On Windows you need to change a bit in the registry if you want it to adapt to the Linux way - i.e. the correct one.