Maintenance time zone conversion incorrect #3412

Open
opened 2026-02-28 03:28:33 -05:00 by deekerman · 0 comments
Owner

Originally created by @keenmouse on GitHub (Jun 14, 2024).

Related to #3626, but that involves a recurring maintenance window not taking effect. Mine has to do with time zone conversion for a one-shot maintenance window.

🛡️ Security Policy

Description

image
image
image

👟 Reproduction steps

As shown in screenshots.

👀 Expected behavior

Expected the job in the maintenance window list to display either "2024-06-19 04:00 - 2024-06-19 08:00 UTC+00:00" (as entered) or "2024-06-18 22:00 - 2024-06-19 02:00 UTC-06:00 America/Edmonton" (converted to server/display time zone).

😓 Actual Behavior

image
Presumably, the window will be applied in the incorrect period displayed.

🐻 Uptime-Kuma Version

1.23.11

💻 Operating System and Arch

Debian GNU/Linux 11 (bullseye) x64

🌐 Browser

Firefox Developer 128.0b1 (64-bit)

🖥️ Deployment Environment

  • Runtime: Docker version 24.0.7, build afdd53b
  • Database: SQLite (don't know where to find version)
  • Filesystem used to store the database on: ext4
  • number of monitors: 91

📝 Relevant log output

No response

Originally created by @keenmouse on GitHub (Jun 14, 2024). ### 📑 I have found these related issues/pull requests Related to #3626, but that involves a recurring maintenance window not taking effect. Mine has to do with time zone conversion for a one-shot maintenance window. ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### Description ![image](https://github.com/louislam/uptime-kuma/assets/18583454/832b0e8d-7daa-46a2-a9d9-423fd0e037ec) ![image](https://github.com/louislam/uptime-kuma/assets/18583454/1277cdd4-75e2-4c6b-9fa0-8c88f658b0c2) ![image](https://github.com/louislam/uptime-kuma/assets/18583454/7e99cca7-96e1-4b9c-ace3-c01085dd6fd9) ### 👟 Reproduction steps As shown in screenshots. ### 👀 Expected behavior Expected the job in the maintenance window list to display either "2024-06-19 04:00 - 2024-06-19 08:00 UTC+00:00" (as entered) or "2024-06-18 22:00 - 2024-06-19 02:00 UTC-06:00 America/Edmonton" (converted to server/display time zone). ### 😓 Actual Behavior ![image](https://github.com/louislam/uptime-kuma/assets/18583454/7e99cca7-96e1-4b9c-ace3-c01085dd6fd9) Presumably, the window will be applied in the incorrect period displayed. ### 🐻 Uptime-Kuma Version 1.23.11 ### 💻 Operating System and Arch Debian GNU/Linux 11 (bullseye) x64 ### 🌐 Browser Firefox Developer 128.0b1 (64-bit) ### 🖥️ Deployment Environment - Runtime: Docker version 24.0.7, build afdd53b - Database: SQLite (don't know where to find version) - Filesystem used to store the database on: ext4 - number of monitors: 91 ### 📝 Relevant log output _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#3412
No description provided.