-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Support timezone in notifications #40
Comments
Timezone is already handled in the frontend and you can change in the "Settings" page. |
Interesting. Just realized that for Discord notifications the time of incident is sent. @louislam I really would contribute more than only writing enhancements and testing builds but my coding skill are far too limited ... 😔 |
The same is in the Slack notifications it is also in UTC |
Yeah, having the same issue over Slack. Loving Uptime Kuma so far - awesome polish. However, for us to use in production the timezone really needs to be considered in the message (or have it customizable). For example, we have clients in US, parts of EU, and Australia. The timestamp from Slack takes a lot of figuring out because it will only show us time here. It's also bit confusing as well that it doesn't match relative to the time within slack. |
It would definitely be nice to have all times used within the system to use the proper timezone. While the interface has the right time by setting the timezone, that doesn't really do anything for me, as I don't often look at the interface. I am attempting to pull the data from "api/status-page/heartbeat" to use in various automations. |
Hello. I'd like the fix implemented. This should be a quick fix. |
++ Same, I am using Slack and it is using UTC for text notification, not the configured timezone in UptimeKuma. |
I got this issue with Line Notification. it's effect with production which need accurate time. |
Bump, still having this issue. It is messing up with quick fixes since some of my clients are around -13 hrs behind our timezone. |
Same problem here with mails. Would be great if this is fixed. |
I don't think +1 ing this does not provide any help. Since it's still open, it's an issue. Use the "reactions" on the top post to show you "want" this implemented. Keeps the chat clean and will be easier for contributors to discuss how that would be implemented. Also reduces the notification "spam" with useless comments to everyone subscribed on this issue. |
I'm also having timezone problems with email notification. It would be easily solved by installing tzdata in the base image (both debian and alpine have this package) and passing the TZ env var in the docker container. |
Como solucion a este error en particular con respecto a smtp
|
Do we have an update on that ? |
Don't think so. Would be nice to have this feature soon. :) |
Awesome. When can we get it in the releases? 😂 |
What is your notification template? |
|
We know that the documetation surroudning the templating system is quite confusing but have not yet have the time to improve this part |
I see, will make the change. Thanks |
apk add tzdata
to docker image and supportTZ
environment variable to set the timezone. alpine is pretty straightforward. you just add this to the start up before running the appcp -f "/usr/share/zoneinfo/${TZ}" /etc/localtime && echo "${TZ}" > /etc/timezone
.I would suggest a script to run the cp and the npm startup and set the script as the entrypoint
The text was updated successfully, but these errors were encountered: