Comments (20)
I recently added server side timezone along with the maintenance pull request. It is configurable in the Settings page.
It is an example of convertion of utc to server timezone.
dayjs.utc(myDate).local().foarmt(<DATE FORMAT>)
from uptime-kuma.
Do we have an update on that ?
from uptime-kuma.
Timezone is already handled in the frontend and you can change in the "Settings" page.
All dates stored in SQLite are in UTC.
from uptime-kuma.
Interesting.
Just realized that for Discord notifications the time of incident is sent.
In Telegram notifications just give information on that status - without any time...
@louislam
maybe would be good to either streamline notification texts on backend for each service
OR (maybe even better)
let users customise the notification text (including setting a timezone for this notifications)
I really would contribute more than only writing enhancements and testing builds but my coding skill are far too limited ... 😔
from uptime-kuma.
Do we have an update on that ?
Don't think so. Would be nice to have this feature soon. :)
from uptime-kuma.
The discord notification uses utc time
from uptime-kuma.
The same is in the Slack notifications it is also in UTC
from uptime-kuma.
Same for all the notifications I think; they are all UTC. I'd like for them to follow the instance timezone, if configured (if it's "Auto" or not configured we can consider it to be UTC, as we can't infer the client data from the server)
from uptime-kuma.
same problem with Pushover notifications
configured desired UTC but no go in Settings
from uptime-kuma.
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.
from uptime-kuma.
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.
from uptime-kuma.
Hello. I'd like the fix implemented. This should be a quick fix.
from uptime-kuma.
++ Same, I am using Slack and it is using UTC for text notification, not the configured timezone in UptimeKuma.
from uptime-kuma.
I got this issue with Line Notification. it's effect with production which need accurate time.
from uptime-kuma.
Bump, still having this issue. It is messing up with quick fixes since some of my clients are around -13 hrs behind our timezone.
Already have set TZ in uptime-kuma as well as on the ubuntu machine.
from uptime-kuma.
Same problem here with mails. Would be great if this is fixed.
I have docker running and have /etc/timezone in the container via volumes. It is set there correct, but not right in the logs and the pushes.
from uptime-kuma.
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.
from uptime-kuma.
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.
from uptime-kuma.
Como solucion a este error en particular con respecto a smtp
hicimos uunas modificaciones,
1.apt update && apt install tzdata -y
2.dpkg-reconfigure tzdata
3.Seleccione mi time zone correspondiente
4.corri "date" dandome la fecha y hora de mi zona horaria
5.edite el archivo /app/server/notification-providers/smtp.js
6.comente el campo:
//if (heartbeatJSON) {
// bodyTextContent = ${msg}\nTime (UTC): ${heartbeatJSON["time"]}
;
// }
-
agregue;
let fecha = new Date();
let fechayhora=fecha.toLocaleString();if (heartbeatJSON) { bodyTextContent = `${msg}\nTime: ${fechayhora}`; }
-
con eso me muestra la hora correcta con respecto a mi pais en los correos
9.Saludos
from uptime-kuma.
Awesome. When can we get it in the releases? 😂
from uptime-kuma.
Related Issues (20)
- Ntfy notification type - button in notification does nothing HOT 1
- [SERVICES] INFO: Failed to start nscd HOT 3
- Do not send notifications for `UP` notifications HOT 3
- monitor in a group if down is reported double HOT 1
- how to add a delay alert for ping HOT 1
- Uptime-Kuma does not respond HOT 3
- Environment Variable To Change Name HOT 1
- `saveStatusPage` socket handler does not use `icon` specified in payload if not base64-encoded HOT 4
- api integration for displaying which monitors do have maintenance and give informations about it HOT 2
- Notifications for Diffrent Events HOT 1
- Can't set timezone Europe/Kyiv HOT 1
- Display Monitor Groups in Mail Subject HOT 2
- Generate Database without launching the server HOT 4
- Some commits are not present in release HOT 1
- Proxy option to notifications channel HOT 1
- Allow expanding error messages/toasts to show the full request/response HOT 1
- Add version info of app to uptime kuma HOT 1
- Cloudflare sites cause ---Timeout of 48000ms exceeded HOT 5
- Incorect message "getaddrinfo ENOTFOUND" on 4xx sites HOT 3
- Clonfigurable Toast notification timeouts to enabling autoclosing `DOWN` toasts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uptime-kuma.