Anrijs / Aranet4-Python

Aranet4, Aranet2 and Aranet Radiation Python client
MIT License
213 stars 19 forks source link

Fix off-by-one errors when deciding history window #21

Closed elyscape closed 2 years ago

elyscape commented 2 years ago

When historical records are being retrieved, if a provided start or end timestamp happens to fall precisely on a measurement, the index calculation would fail and that filter would be ignored. This fixes that.