If you use WSL, you might have noticed that from time to time you will encounter errors and issues with Linux utilities, tools, and programs that are time-sensitive. This is because the time in the WSL environment is different or not the same as the host (your computer).
To fix this issue on [Ubuntu WSL] run this command.
sudo hwclock -s
The command above re-sync the hardware clock and set it to the correct time.
This is an ongoing bug and might get fixed in a future Windows update, until then this is the only solution I found.