diff --git a/plot_gen.py b/plot_gen.py index 99a5abb..19531ff 100644 --- a/plot_gen.py +++ b/plot_gen.py @@ -35,7 +35,7 @@ class TimeSeriesAccumulator: return result def get_ts(self): - return [datetime.utcfromtimestamp(self.start_timestamp+(i+1)*self.bin_time) for i in range(self.n_bins)] + return [datetime.utcfromtimestamp(int(self.start_timestamp+(i+1)*self.bin_time)) for i in range(self.n_bins)] if __name__ == "__main__": diff --git a/tabler/index.html b/tabler/index.html index c5a593b..df05d8e 100644 --- a/tabler/index.html +++ b/tabler/index.html @@ -299,7 +299,7 @@ -
+ @@ -426,100 +426,126 @@ + @@ -602,4 +628,4 @@ load_stat();