Skip to content

Time Zone issues after updating to v0.16.x #1214

@Starfiresg1

Description

@Starfiresg1

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:
grafik

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.
grafik

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:

  1. Run a manual speedtest at an specific local time
  2. Click on 'Results' or refresh the dashboard
  3. 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
grafik
Result list displays 20:47 as test time
grafik
Public dashboard displays 19:47 as last entry
grafik

Logs
Nothing oblivious in the logs

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions