web icon indicating copy to clipboard operation
web copied to clipboard

Universal Time Displayed in Firefox Instead of Local Time

Open akumar48 opened this issue 1 year ago • 3 comments

Versions

  • Pi-hole: v5.18.2 (Latest: v5.18.2)
  • AdminLTE: v5.21 (Latest: v5.21)
  • FTL: v5.25.1 (Latest: v5.25.1)

Platform

  • OS and version: Raspbian Bullseye
  • Platform: Raspberry Pi OS: Raspbian GNU/Linux 11 (bullseye) armv6l Host: Raspberry Pi Zero W Rev 1.1 Kernel: 6.1.21+ Uptime: 6 days, 11 hours, 40 mins Packages: 1450 (dpkg) Shell: bash 5.1.4 Terminal: /dev/pts/0 PU: BCM2835 (1) @ 1.000GHz Memory: 57MiB / 429MiB

Expected behavior

I expect when I login to the web portal to see the correct time listed on the graphs and in logs. This means my local time, which is UTC-8. This experience is consistent on Chrome.

Actual behavior / bug

When I use Firefox, my preferred browser, all logs and graphs are shown using the system universal time, not local time, which leads all times to be 8 hours off.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open Firefox.
  2. Go to 10.0.0.150/admin/login.php (my static ip for the pihole, ymmv)
  3. Login using password
  4. View Graphs (Wrong Time)
  5. Click on Queries Blocked
  6. View Logs (Wrong Time)

Debug Token

  • URL: https://tricorder.pi-hole.net/7ThCEbKO/

Screenshots

##Firefox: graphs: image logs: image

##Chrome: graphs: image logs: image

akumar48 avatar Apr 23 '24 13:04 akumar48

Does the issue happens if you disable all Firefox browser extensions/add-ons?

rdwebdesign avatar Apr 23 '24 17:04 rdwebdesign

Also check whether you have some "advanced" tracking protection enabled. This may intentionally conceal the time zone from the website to reduce the potential of "fingerprinting" you.

DL6ER avatar Apr 23 '24 17:04 DL6ER

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

github-actions[bot] avatar May 24 '24 08:05 github-actions[bot]