Skip to content

Fix incorrect start times in the timelines of fixed downtimes#1355

Merged
nilmerg merged 1 commit intomainfrom
fix/downtime-progress-start
Apr 8, 2026
Merged

Fix incorrect start times in the timelines of fixed downtimes#1355
nilmerg merged 1 commit intomainfrom
fix/downtime-progress-start

Conversation

@BastianLedererIcinga
Copy link
Copy Markdown
Contributor

Downtimecards for fixed downtimes currently always use TimeAgo to display the start time in the timeline, which is incorrect if the start is in the future, for such cases TimeUntil should be used instead.

I tested the change with the current main of ipl-web and with Icinga/ipl-web#350 and it's dependencies, both worked fine.

resolves: #1353

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Apr 2, 2026
Previously fixed downtimes always used `TimeAgo` for the start
in the timeline, even when the downtime had not yet started.
Copy link
Copy Markdown
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@nilmerg nilmerg added bug Something isn't working area/representation Affects the representation of information labels Apr 8, 2026
@nilmerg nilmerg added this to the 1.5.0 milestone Apr 8, 2026
@nilmerg nilmerg merged commit ba56d55 into main Apr 8, 2026
13 checks passed
@nilmerg nilmerg deleted the fix/downtime-progress-start branch April 8, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/representation Affects the representation of information bug Something isn't working cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect start time displayed for fixed downtimes

2 participants