Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the UTC timing in the alert field to IST #1

Open
nirmalraj10 opened this issue Jul 9, 2022 · 1 comment
Open

How to change the UTC timing in the alert field to IST #1

nirmalraj10 opened this issue Jul 9, 2022 · 1 comment

Comments

@nirmalraj10
Copy link

Hi Thanks for your code, it works smoothly, Just wanted to know on how to change the UTC timing in the alert field to IST or to the one am interested in.

Thanks in advance.

@yarkhinephyo
Copy link
Owner

Hi! Glad its helpful to you. You can clone the project, add the appropriate locale parameter in the function below, then deploy via custom webhook deployment.

const time = new Date(request_datetime).toLocaleTimeString();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants