From cf47856283ec0eec0aebf66b22ded41205af3186 Mon Sep 17 00:00:00 2001 From: Antonis Christofides Date: Sun, 22 Feb 2026 16:34:58 +0200 Subject: [PATCH] Clarify the time zone in the chart (fixes DEV-133) It might have been better to render the chart in the timeseries' timezone, but this was a little bit hard and could be premature. So at least I've made it clear that the time zone is UTC. --- .isort.cfg | 2 +- doc/dev/webservice-api.rst | 6 +- doc/general/install.rst | 2 +- .../api/tests/test_views/test_timeseries.py | 34 +++++------ enhydris/api/views.py | 61 +++++++++++-------- enhydris/static/js/enhydris.js | 12 +++- enhydris/synoptic/models.py | 3 +- enhydris/telemetry/models.py | 4 +- .../timeseries_group_detail/main-default.html | 1 + requirements.txt | 1 - 10 files changed, 72 insertions(+), 54 deletions(-) diff --git a/.isort.cfg b/.isort.cfg index cfea3370..3c624371 100644 --- a/.isort.cfg +++ b/.isort.cfg @@ -1,5 +1,5 @@ [settings] -known_third_party=pandas, model_bakery, iso8601, htimeseries, simpletail, rest_captcha, dj_rest_auth, allauth, celery, parler, parler_rest, geowidgets, freezegun +known_third_party=pandas, model_bakery, htimeseries, simpletail, rest_captcha, dj_rest_auth, allauth, celery, parler, parler_rest, geowidgets, freezegun known_first_party=enhydris known_django=django,rest_framework sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER diff --git a/doc/dev/webservice-api.rst b/doc/dev/webservice-api.rst index 478840b1..6e6466f1 100644 --- a/doc/dev/webservice-api.rst +++ b/doc/dev/webservice-api.rst @@ -673,7 +673,11 @@ You can provide time limits using the following query parameters ``start_date=