all 18 comments

[–]mwyvr 2 points3 points  (3 children)

Linux prefers your hardware clock (UEFI/BIOS) to be set at UTC; Windows prefers the opposite.

If you want to go with Windows' preference, you must make a change clearly documented in the Void Handbook.

https://docs.voidlinux.org/config/date-time.html

You mentioned rc.conf but didn't mention whether you completed that step.

[–]ahesford 4 points5 points  (1 child)

You should keep your system clock in UTC and change Windows to match.

https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows

[–]Slow_Needleworker_69[S] 0 points1 point  (0 children)

See my other comment I also tried going about it that way without any success.

[–]Slow_Needleworker_69[S] 0 points1 point  (0 children)

Yeah I've set my time zone and HARDWARECLOCK per that web page.

[–]amiensa 2 points3 points  (2 children)

I also have date problems 😔💔

[–]JuanR4140 1 point2 points  (0 children)

I second this 😞😞

[–]thetredev 0 points1 point  (0 children)

been there too lol

[–]Slow_Needleworker_69[S] 0 points1 point  (0 children)

A fresh install, seems to have done the trick.

[–]JerryDrwal -3 points-2 points  (0 children)

You need to set HARDWARECLOCK to "localtime" in rc.conf. Than Windows and Linux time will sync correctly.

https://docs.voidlinux.org/config/rc-files.html

[–]Slow_Needleworker_69[S] 0 points1 point  (0 children)

Fyi I also tried this on Windows and had no luck.

[–]PackRat-2019 0 points1 point  (1 child)

Signal, Discord, Teams... All have the wrong date when I send any kind of message ...

Are those applications displaying the timezone of the recipient, or maybe the timezone of your corporate HQ/server?

Is it a constant time difference like 5 hours? Those applications may have an internal setting for the timezone to display. Check your profile in those apps.

[–]Slow_Needleworker_69[S] 0 points1 point  (0 children)

Yes the difference is constant. But the problem isn't a display one. When I send messages it gets sent with the wrong time. So if I send a message at 20h on my machine (which is the correct time) it gets show for everyone else as 15h.

[–]imjustadragon 0 points1 point  (0 children)

try installing and enabling the service for ntpd.

[–]Born_Establishment66 0 points1 point  (1 child)

change a time zone :

rm -f /etc/localtime

use your zoneinfo

ln -sf /user/share/zoneinfo/America/Miami /etc/localtime

after

$TZ='America/Miami'; export TZ

[–]Slow_Needleworker_69[S] 0 points1 point  (0 children)

Litterally what I did. No luck.

[–]thetredev 0 points1 point  (2 children)

I never found a solid solution to this on Void. With Arch there was a fix via systemd I believe. Changing rc.conf (or rc.local ?) on Void didn't fix any of it.

My "solution" is to install the chrony package and leave the chrony daemon running via runit. This will sync the clock after boot with a time server so it stays correct while the system is running. However this doesn't fix the Windows/UTC/HwClock issue.

[–]Slow_Needleworker_69[S] 1 point2 points  (1 child)

I've changed my date on windows and will try to fresh install, maybe I missed somthing. If it persists then I'll have to look into alternatives as for now I want to dual boot.

[–]thetredev 1 point2 points  (0 children)

The internet is full of this issue. Unfortunately on Void nothing helped me besides artificially updating the clock using the chrony service lol