next year

This commit is contained in:
Wolfgang Hottgenroth 2023-02-12 23:38:12 +01:00
parent 78cc513c5b
commit 014a7938ee
Signed by: wn
GPG Key ID: 836E9E1192A6B132
3 changed files with 2 additions and 2 deletions

View File

@ -76,13 +76,13 @@ with conn:
category = 'Outdoor' and
location = 'Outdoor' and
extract('hour' from time) = 12 and
extract('year' from time) = 2022
extract('year' from time) = 2023
group by day
order by day
""")
res = cur.fetchall()
temperatures = [ x[1] for x in res ]
# print(json.dumps(temperatures))
print(json.dumps(temperatures))
conn.close()
min_t = min(temperatures)

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 753 B