From 4bb3bccd24f9e987f1b8852ff99b754a689897f2 Mon Sep 17 00:00:00 2001 From: mattbk Date: Fri, 17 Nov 2017 19:48:28 +0000 Subject: [PATCH] Shelve. --- pi_temp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pi_temp.py b/pi_temp.py index 9e58b76..d31076f 100755 --- a/pi_temp.py +++ b/pi_temp.py @@ -77,8 +77,9 @@ def history(): time_series_temperature_values = [] time_series_humidity_values = [] + local_timedate_series = [arrow.get(record[0], "YYYY-MM-DD HH:mm").to(timezone) for record in temperatures] for record in temperatures: - local_timedate_series = arrow.get(record[0], "YYYY-MM-DD HH:mm") + #local_timedate_series = arrow.get(record[0], "YYYY-MM-DD HH:mm") time_series_adjusted_temperatures.append(local_timedate_series.format('YYYY-MM-DD HH:mm')) time_series_temperature_values.append(round(record[2],2))