0
0
mirror of https://github.com/bobwen-dev/htpdate synced 2025-04-11 23:00:44 +02:00

Update README.md

This commit is contained in:
Bob Wen 2021-11-03 21:20:09 +08:00
parent a5c13d68f4
commit 17e661ae09

View File

@ -123,7 +123,7 @@ duration = received_at - sent_at
delta = server_time - received_at - duration / 2
```
There is one more thing to consider. Imagine you get a Date value of `23 GMT`, which could be `23.000` seconds, or `23.999` seconds. So we give `0.5s` as a compensation.
There is one more thing: ehe precision of `Date`. Imagine you get a Date value of `23 GMT`, which could be `23.000` seconds, or `23.999` seconds. So we give `0.5s` as a compensation.
## License