pi-hole / web

Pi-hole Dashboard for stats and more
https://pi-hole.net
Other
2k stars 555 forks source link

Universal Time Displayed in Firefox Instead of Local Time #3012

Closed akumar48 closed 3 months ago

akumar48 commented 4 months ago

Versions

Platform

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

Screenshots

Firefox:

graphs: image logs: image

Chrome:

graphs: image logs: image

rdwebdesign commented 4 months ago

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

DL6ER commented 4 months ago

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.

github-actions[bot] commented 3 months ago

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.