Secured future date input + min(end,now) for complete_to_end
This commit is contained in:
@ -119,7 +119,7 @@ class InfluxGraph:
|
||||
result = self.influx_data_getter.get_curves_in_timerange(self.variables, self.time, interval)
|
||||
|
||||
self.strip_future(result)
|
||||
self.complete_to_end(result, end)
|
||||
self.complete_to_end(result, min(end, now))
|
||||
self.time[0] = self.time[1]
|
||||
# reduction not yet implemented
|
||||
return dict(type='graph-draw', reduced=False, graph=result)
|
||||
|
Reference in New Issue
Block a user