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 22:03:00 +08:00
parent c66b53d971
commit 87b3c6e76d

View File

@ -123,7 +123,7 @@ duration = received_at - sent_at
delta = server_time - received_at - duration / 2
```
There is one more thing: the precision of `Date`. Imagine you get a Date end with `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: the precision of `Date`. Imagine you get a Date end with `:23 GMT`, which could be `23.000` seconds, or `23.999` seconds. So we give `+0.5s` as a compensation.
## License