databento / databento-rs

The official Rust client library for Databento
https://databento.com
Apache License 2.0
41 stars 2 forks source link

`DateTimeRange::Closed` is contradictory on whether `end` is open or closed #13

Closed yongqli closed 7 months ago

yongqli commented 7 months ago

The docs say:

The end date time (inclusive).

But it also says:

A closed interval with an inclusive start time and an exclusive end time.
threecgreen commented 7 months ago

Thanks for reporting this issue. end is always exclusive

threecgreen commented 7 months ago

Fixed in ff28566a373032b527ef72bf79f273ea954c4b92