AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Schedule/Service Blocking failing to transition to Daylight Saving Time (DST) - Europe/Brussels

Open oliverlastery-a11y opened this issue 8 months ago • 3 comments

Prerequisites

Platform (OS and CPU architecture)

OpenBSD, AMD64 (aka x86_64)

Installation

Other (please mention in the description)

Setup

On one machine

AdGuard Home version

v0.107.73

Action

Description: After the transition to Daylight Saving Time (DST) last night in Europe (transition from UTC+1 to UTC+2), AdGuard Home (v0.107.x) fails to update the schedules for "Blocked Services" and "Client Settings," even though the system time (OPNsense) and the AdGuard Query Log display the correct time.

Steps to reproduce:

Use AdGuard Home on a system set to Europe/Brussels.

Observe the "Edit Schedule" window for a client.

The timezone dropdown still shows "Europe/Brussels (GMT +01:00)" instead of the current GMT +02:00.

Scheduled blocks (e.g., YouTube blocked until 10:00 AM) remain active until 11:00 AM local time unless the schedule is manually adjusted.

Current Workaround: I am forced to manually edit every single client schedule and shift the hours by -1 hour (e.g., setting a 10:00 AM end time to 09:00 AM) to compensate for the incorrect UTC offset.

Environment:

AdGuard Home version: v0.107.73
Platform: OPNsense / FreeBSD

Affected Timezone: Europe/Brussels

Expected result

Add time synchronized with the system. The internal timezone database should automatically detect the DST shift and update the GMT offset for the selected city, ensuring that the "Blocked Services" schedule remains aligned with the actual local time.

Actual result

The internal schedule logic remains on GMT +01:00. As a result, blocking rules that were supposed to end at 09:00 AM are still active until 10:00 AM local time, creating a 1-hour discrepancy for all clients with scheduled service blocking.

Additional information and/or screenshots

Image Image

oliverlastery-a11y avatar Mar 29 '26 08:03 oliverlastery-a11y

Thanks for the report. In AdGuard Home schedules are tied to the selected time zone location, not to a fixed GMT offset, so DST should be applied automatically as long as the system time and time zone data are correct.

To better understand what is happening in your case, could you please clarify:

  1. What exact system time zone is configured on the machine running AdGuard Home?
  2. Does the OS itself correctly reflect the DST switch for Europe/Brussels?
  3. In your screenshot the UI shows Local — could you confirm what Local resolves to on that host?
  4. If possible, please also share the output of the system time zone settings or any relevant OS time configuration.

sofvaskina avatar Jun 04 '26 14:06 sofvaskina

Closing due to inactivity.
If the issue persists, please leave a comment and we'll be happy to reopen the issue.

VsevolodNaumov avatar Jun 10 '26 16:06 VsevolodNaumov

After investigation, the root cause has been identified. Environment:

OPNsense 26.1.10-amd64 FreeBSD 14.3-RELEASE-p15 AdGuard Home v0.107.77 Installation: bare metal (Intel i7-8700K) Plugin: os-adguardhome-maxit (mimugmail community repo) Affected timezone: Europe/Brussels

Root cause:

AdGuardHome.yaml had time_zone: Local. On FreeBSD/OPNsense, Local does not correctly handle the DST transition. The OS itself is correctly set to CEST (UTC+2), confirmed by date returning Wed Jun 17 11:38:56 CEST 2026 and /etc/localtime being present and correct. Partial fix attempted:

Manually replacing time_zone: Local with time_zone: Europe/Brussels in /usr/local/AdGuardHome/AdGuardHome.yaml and restarting the service with service adguardhome restart. However, even after this change, the schedule UI still displays Europe/Brussels (GMT+01:00) instead of the expected GMT+02:00. The 1-hour DST offset issue therefore persists in the UI regardless of the YAML setting. Conclusion:

This confirms the bug is not only in the Local timezone detection on FreeBSD, but also in the way AdGuard Home handles DST for Europe/Brussels in its internal schedule UI. The GMT offset is hardcoded to +01:00 and is not dynamically updated when DST is active. Current workaround:

Manually shifting all scheduled block times by -1 hour to compensate (e.g. setting 20:30 instead of 19:30).

oliverlastery-a11y avatar Jun 17 '26 09:06 oliverlastery-a11y