Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DB: remove TZ info from
get_{observation,timeseries}_history
dates
Remove timezone data from `t1` and `t2` dates in `get_observation_history` and `get_timeseries_history`. This fixes `TypeError: can't compare offset-naive and offset-aware datetimes` present in API when request to `/entity/{entity}/{eid}` was made with `date_from` and `date_to` parameters containing timestamps like 1689745000000.
- Loading branch information