-
-
Notifications
You must be signed in to change notification settings - Fork 204
Description
Describe the bug
After updating I noticed a timezone discrepency in new speedtests. It seams the "created at" column and the json-data of the test now contain both UTC time. Prior to the upgrade the "created at" column contained local time.
I use a MariaDB-Database which has the local timezone set:
SELECT @@global.time_zone, @@session.time_zone;
@@global.time_zone @@session.time_zone
SYSTEM SYSTEM
output of date command on command line:
Wed Feb 21 22:18:04 CET 2024
CET (UTC+1) is used
I've had the following settings that worked prior to upgrading to the new release:

In the results table new entries have UTC-time in both the JSON-field and "created_at" column. Older tests before the migration had the local time in the created_at column and display with the correct local time in the result list and the charts.

The public dashboard is even stranger - it backdates the result one hour from UTC - displaying the result at UTC-1.
To Reproduce
Steps to reproduce the behavior:
- Run a manual speedtest at an specific local time
- Click on 'Results' or refresh the dashboard
- Time of the result in list and graph is not displayed in local time
Expected behavior
Time in the result list and the graph should be in local time as they did in v15 I think.
Environment (please complete the following information):
- OS: debian (docker)
- Architecture: amd64
- Browser: Firefox
- Version v0.16.6 (Linuxserver,io)
- Linuxserver.io MariaDB-Docker running 10.11.6 of MariaDB
Screenshots
Test run at 21:47 local time
Admin Dashboard displays 20:47 as last entry

Result list displays 20:47 as test time

Public dashboard displays 19:47 as last entry

Logs
Nothing oblivious in the logs