louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60.17k stars 5.38k forks source link

Dropdown for timezone in maintenance uses the default timezone #5240

Open ScottWilliamAnderson opened 4 weeks ago

ScottWilliamAnderson commented 4 weeks ago

Making the dropdown for timezone in maintenance have the default value of the timezone from settings, instead of being empty

⚠️⚠️⚠️ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma

Tick the checkbox if you understand [x]:

Description

I'd like to set the default value of the dropdown in the maintenance scheduler to be set to the current value in the server's timezone. This is a very minor QOL improvement for users who often schedule maintenance & would use the same timezone as the server.

I've followed the guidelines from the CONTRIBUTING.md, and would like to have @louislam input if you think this is an appropriate new feature, I will start work on it. Please do share any comments or thoughts you might have.

Type of change

Please delete any options that are not relevant.

Checklist

Screenshots (if any)

image

image

Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.

Ionys320 commented 2 weeks ago

The fix is easy to made, I guess you can submit it and wait for it to be approved. More of that, this should be the default comportment, referring to the Wiki!