Remove timezone conversion #27

Merged
mattbk merged 6 commits from speed-time into master 2017-11-17 16:59:01 -06:00
Showing only changes of commit 4bb3bccd24 - Show all commits

View File

@ -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))