uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Display server timezone in notifications in general.

Open TheBakaBandit opened this issue 2 years ago • 3 comments

⚠️ Please verify that this bug has NOT been raised before.

  • [X] I checked and didn't find similar issue

🛡️ Security Policy

Description

Timezone is still wrong in release in push notifications as reported in issue 40.

This is the notification:

image

This is the settings page:

image

👟 Reproduction steps

Set server and display timezone in settings, trigger a notification on a monitor.

👀 Expected behavior

The Time Zone and time in the notification would be as set in the settings.

😓 Actual Behavior

The Time Zone and time in the notification remain UTC

🐻 Uptime-Kuma Version

1.19.0-beta.0

💻 Operating System and Arch

Rocky Linux 8.6 (Green Obsidian)

🌐 Browser

Version 107.0.5304.108 (Official Build) (64-bit)

🐋 Docker Version

Docker version 20.10.2

🟩 NodeJS Version

No response

📝 Relevant log output

No response

TheBakaBandit avatar Nov 30 '22 17:11 TheBakaBandit

I would say this issue is not just in discord notifications. It also happends in pushover as well.

migtarx avatar Dec 09 '22 19:12 migtarx

Yes, we have tested in mattermost too and the same thing occurs.

TheBakaBandit avatar Dec 10 '22 15:12 TheBakaBandit

same problem with slack

befantasy avatar Dec 27 '22 14:12 befantasy

Does anyone know if this will be fixed?

EdyDeveloper avatar Jan 23 '23 11:01 EdyDeveloper

Does anyone know if this will be fixed? image

runchunzhang avatar Jan 30 '23 01:01 runchunzhang

Hi Everyone, Issue is still there with Discord notifications! Any plan to fix it? Thx in advance.

radiohead-lab avatar Apr 12 '23 15:04 radiohead-lab

I would also be happy if the time is displayed correctly in the Discord notifications. Is that so complicated to implement?

Skyfay avatar Apr 18 '23 14:04 Skyfay

Same Timezone issue.

Received notification Email contents: [Nextcloud] [✅ Up] 200 - OK Time (UTC): 2023-06-10 12:35:25.844

Actual local time is 20:35 (UTC +08:00)

jtxnn678 avatar Jun 10 '23 13:06 jtxnn678

@TheBakaBandit I accidentally did not tag this issue in #3203

Could you close this issue? A fix for this will be included in the next release (it is just around the corner)

CommanderStorm avatar Jun 10 '23 16:06 CommanderStorm

Closing as resolved in https://github.com/louislam/uptime-kuma/pull/3203

CommanderStorm avatar Dec 13 '23 15:12 CommanderStorm