node-ntp-sync icon indicating copy to clipboard operation
node-ntp-sync copied to clipboard

Server example broken

Open rotu opened this issue 1 year ago • 1 comments

The server example in the readme doesn't seem to work. This is possibly due to transmitTimestamp which differs from examples/server.js which uses a field called txTimestamp.

Fixing this alone doesn't seem to restore functionality; it seems the Origin timestamp is also wrong, being set to some time in 1994:

image

Is there a working example of the server API?

rotu avatar Nov 19 '24 21:11 rotu

Fixed with #34

luk3skyw4lker avatar Jun 05 '25 13:06 luk3skyw4lker