-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Open
Labels
A:status-pageIssues or PRs related to the status pageIssues or PRs related to the status pagefeature-requestRequest for new features to be addedRequest for new features to be added
Description
π I have found these related issues/pull requests
Relates to #2808, which was created before v2.0.0 and the badge endpoint rework so is no longer relevant.
π‘οΈ Security Policy
- I have read and agree to Uptime Kuma's Security Policy.
π Description
The /api/badge/:monitor/uptime/:duration accepts a duration such as 1y but the generated badge says 1h, as the h suffix appears to be hard-coded.
π Reproduction steps
π Expected behavior
Badge should read: (1y)
π Actual Behavior
Badge reads: (1h)
π» Uptime-Kuma Version
2.1.3
π» Operating System and Arch
Amazon Linux 2023.10.20260202 x86_64
π Browser
Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0
π₯οΈ Deployment Environment
- Runtime Environment:
- Docker: Version
25.0.14 - Docker Compose: Version
2.38.2
- Docker: Version
- Database:
- SQLite: Embedded
- Database Storage:
- Filesystem:
- Linux: Unknown (EC2)
- Storage Medium: Unknown (EC2)
- Filesystem:
- Uptime Kuma Setup:
- Number of monitors:
21
- Number of monitors:
π Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:status-pageIssues or PRs related to the status pageIssues or PRs related to the status pagefeature-requestRequest for new features to be addedRequest for new features to be added