diff --git a/pyscada/models.py b/pyscada/models.py index 3514fe06..615ccda5 100755 --- a/pyscada/models.py +++ b/pyscada/models.py @@ -119,7 +119,7 @@ def last_element(self, use_date_saved=True, **kwargs): if "time_min" in kwargs: time_min = kwargs.pop("time_min") else: - time_min = time.time() - 3660 + time_min = 0 if "time_max" in kwargs: time_max = kwargs.pop("time_max")