Skip to content

improve display of times/durations in copr web #3616

Open
@juhp

Description

It seems any duration >= 60min and <= 1h59m may be displayed as "an hour" in copr web UI.
Which can be quite misleading/confusing sometimes.

eg One of my builds just went from 50min to 90min, so copr now says it took "an hour".

Another example, a build started just over 2 hours ago was displayed as:

Submitted:
    2025-02-03 09:12 UTC (2 hours ago) 
Started:
    2025-02-03 09:13 UTC (an hour ago) 

which doesn't really make sense.

A simple suggestion would be at least show minutes up to 2 hours, though I would prefer always to see hours and minutes 2h 15m.
Failing that, at the very least there should be rounding to the nearest hour.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Someday in future

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions