Commit d2e3772f authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

history/with-delta: restrict a bit more (should have no observable effect)

parent 8a499cfa4071
......@@ -233,8 +233,12 @@ class timeseries(SeriesServices):
to_date = None
if deltabefore is not None:
from_date = idate - deltabefore
else:
from_date = from_value_date
if deltaafter is not None:
to_date = idate + deltaafter
else:
to_date = to_value_date
series.append((
idate,
snapshot.find(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment