mirror of https://github.com/bobwen-dev/htpdate
Update README.md
This commit is contained in:
parent
27d607080c
commit
1881a8d4d9
|
@ -123,7 +123,7 @@ duration = received_at - sent_at
|
||||||
delta = server_time - received_at - duration / 2
|
delta = server_time - received_at - duration / 2
|
||||||
```
|
```
|
||||||
|
|
||||||
There is one more error to consider. Imagine you get a Date value of `23` seconds, which could be `23.000` seconds, or `23.999` seconds. So we having to give 0.500s as compensation for the calculation.
|
There is one more error to consider. Imagine you get a Date value of `23` seconds, which could be `23.000` seconds, or `23.999` seconds. So we having to give `0.5s` as compensation for the calculation.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue