Logiqx / wsw-results

Weymouth Speed Week Results
https://logiqx.github.io/wsw-results/
GNU General Public License v3.0
0 stars 0 forks source link

Laptops - Incorrect date / time in Ubuntu #37

Open Logiqx opened 11 months ago

Logiqx commented 11 months ago

When the laptops sleep / hibernate the date and time in Ubunti are paused, leading to incorrect dates and times in the git history.

Prior to issuing any git commands, be sure to sync the clock with sudo hwclock -s

nickjpovey commented 11 months ago

Use mains power and set the laptops not to sleep or hibernate?

Logiqx commented 11 months ago

We do use the power supplies for the most part, put it's still going to happen occasionally. It's a bug in WSL that requires either a reboot, restart of WSL or the hwclock -s command. The latter is preferable!

Prior to motion downloads and results, we just need to check the time in Ubuntu and issue the hwclock -s command if required. I'll leave the issue open until such time as the bug in WSL is fixed.