n4af / TR4W

TRLOG 4 Windows free amateur radio logging application
GNU General Public License v3.0
19 stars 6 forks source link

Synchronize Time does not support raising the privilege to set the clock #609

Open ny4i opened 2 years ago

ny4i commented 2 years ago

The Synchronize Time menu options does not elevate the windows privilege to allow changing the time. This should raise the privilege to do so.

Also, the user may want to use a time server other than pool.ntp.gov so allow setting the time server. This would be useful in a field day or other environment where the PCs are not connected to the Internet but have a local NTP server.

ny4i commented 2 years ago

Actually, after more thought there is no need to do this in the program. This is probably from back before computers ran D4 or Meinberg NTP clients.

I would suggest this feature be removed from the program.

ny4i commented 1 year ago

On second thought, a compromise. We can easily use Indy components to check the time so I will check the time and compare it to the PC time. If it is more than 2 seconds off, I will display a message at startup.