Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: How to set Runit clock to local? (Read 469 times) previous topic - next topic
0 Members and 5 Guests are viewing this topic.

How to set Runit clock to local?

I'm still new to this, but I just wanted to know how to get the clock in Runit set to LOCAL.

Couldn't find anything on the internet that explains, neither could find the clock command itself. As I am booting on Windows, every switch is like a clock being different or broken because of different time mode.

Anyone have a command for it or smth like that? If there's no way to do it, I can try a workaround, but I'm guessing I would need a third party app for the XFCE Desktop Environment
Thanks


 

Re: How to set Runit clock to local?

Reply #3
To complete it:

I descriped it a Friend yesterday (google-translated from german):

-----
Windows is not even compatible with itself, for example if you use two Windows installations on the same computer, as I used to do for a long time:

Primary XP x64 and on the 2nd HD (standalone bootable) my old XP Home as a “backup Windows” if the primary one goes wrong, or as a cross-check.

Case 1:

After the time change, XP x64 adjusted the RTC time and when I booted XP-Home at some point, maybe weeks later, it changed the time by an hour because it was running the last time before the time change.

This happened after every time change!

Case 2:

After the time change, I restore a backup from before the time change and then when I boot it, it changes the time by one hour.

Both always annoyed me because I didn't yet know the UTC trick.
-----

And attached something I found years ago:

Re: How to set Runit clock to local?

Reply #4
Windows indeed messes with the RTC.
To prevent it from doing so start CMD as Adminstrator, and run:

Code: [Select]
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

And please don't tell anybody I provide help for windwoes  ;)

artist


Re: How to set Runit clock to local?

Reply #5

Windows indeed messes with the RTC.
To prevent it from doing so start CMD as Adminstrator, and run:

Code: [Select]
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

And please don't tell anybody I provide help for windwoes  ;)

artist


Thank you 2 of u! It worked here

also artist yes sure i wont :D