Wrong used Time

Please follow the below template, it will help us to help you!

Expected Behaviour:

PiHole should use local (CET) time so it display the Queries correctly at Webinterface.

Actual Behaviour:

PiHole use UTC time instead of my in "sudo raspi-config" configured time for Germany. Because of that, PiHole querys in webinterface are 1 hour in the past

Debug Token:

a3gyqp2hcs

Optional Info:

i use Stubby for encrypted DNS

What's the output of command

timedatectl

On my system it shows

Local time: Sat 2019-02-16 15:16:43 CET
Universal time: Sat 2019-02-16 14:16:43 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

I'm from Germany too and date/time in the Pi-hole Query Log are correct here.

and

tail -n1 /var/log/pihole.log

The web interface needs a correct time on the client as well, and some browsers also have a time setting.

The web interface is being displayed on the client browser.

I have the same setting enabled on Firefox and I'm seeing the correct time in displayed query logs using that browser.

Edit - the same setting was disabled. When enabled, the time shown is UTC.

Mine is UTC -6.

I stand corrected. The option was still on false. When I set it to true, I do see Pi-Hole queries in the log as UTC.

I don't believe this is the case. If this is something you would like to see implemented in Pi-Hole, please submit a feature request.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.