You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
monitor alerting timezone is wrong
How can one reproduce the bug?
Steps to reproduce the behavior:
my timezone is GMT+8
I have set opensearch-dashboard time zone=Asia/Shanghai
open a trigger's alerting, and press button "Preview message"
ctx.periodStart is utc+0
What is the expected behavior?
Press "Preview message" ,and "ctx.periodStart" timezone is Asia/Shanghai
What is your host/environment?
OS: [CentOS 7.9]
Version [2.11]
Do you have any screenshots?
period_end is right timestamp, but code "alerting-dashboards-plugin/public/pages/CreateTrigger/utils/helper.js" line number 59 show me it use utc:
Do you have any additional context?
I think this code should change like "moment.utc(_.get(executeResponse, 'period_start', Date.now())).local().format()
The text was updated successfully, but these errors were encountered:
What is the bug?
monitor alerting timezone is wrong
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
Press "Preview message" ,and "ctx.periodStart" timezone is Asia/Shanghai
What is your host/environment?
Do you have any screenshots?
period_end is right timestamp, but code "alerting-dashboards-plugin/public/pages/CreateTrigger/utils/helper.js" line number 59 show me it use utc:
Do you have any additional context?
I think this code should change like "moment.utc(_.get(executeResponse, 'period_start', Date.now())).local().format()
The text was updated successfully, but these errors were encountered: