Wrong time in windows after dual-booting linux?
The problem - you have dual boot setup. All is good, but after booting up windows you always have UTC time, instead of your local time.
I thought about complicated workarounds (e.g. force time check on startup), until stumbled upon article, explaining that by default:
- Windows assume hardware clock has local time
- Linux assume hardware clock has UTC time
So how to fix it? Simple - force Linux to treat system clock as local time:
timedatectl set-local-rtc 1
timedatectl
- controls datetime settings
set-local-rtc
- accepts bool value. 0
for UTC, 1
for local time.
No Comments