Skip to content

Maintenance Time Window of a Day do not consider DSTΒ #6233

@mdima

Description

@mdima

πŸ“‘ I have found these related issues/pull requests

Does not apply

πŸ›‘οΈ Security Policy

πŸ“ Description

Hello,
I just realized why I continue to receive alerts of the selected monitors during the maintenance window: the Time Window of a Day setting in the maintenance plan do not consider the Day Light Saving status.

At the moment there is no alternative to solve the problem than setting a different Timezone to compensate the DST, but would be better if this would be managed.

πŸ‘Ÿ Reproduction steps

Set a maintenance interval during the DST period, the selected monitors will not be excluded during that interval.

πŸ‘€ Expected behavior

Just consider DST when applying the maintenance interval.

πŸ˜“ Actual Behavior

The DST period is ignored, this means that the maintenance interval is shifted 1h later.

🐻 Uptime-Kuma Version

Version: 2.0.2

πŸ’» Operating System and Arch

Docker

🌐 Browser

Google Chrome Version 141.0.7390.108 (Official Build) (64-bit)

πŸ–₯️ Deployment Environment

  • Runtime Environment:
    • Docker: Version 28.5.0, build 887030f
    • Docker Compose: Version v2.39.4
    • Portainer (CE): 2.33.0 LTS
  • Database:
    • SQLite: Embedded
  • Database Storage:
    • Filesystem:
      • Linux: ext4/XFS/Btrfs/ZFS/F2FS
      • macOS: APFS/ HFS+
      • Windows: NTFS/ReFS
    • Storage Medium: NVMe
  • Uptime Kuma Setup:
    • Number of monitors: `30

πŸ“ Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:maintenanceIssues or PRs related to the maintenance modebugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions