mirror of https://github.com/bobwen-dev/htpdate
Update README.md
This commit is contained in:
parent
a5c13d68f4
commit
17e661ae09
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue