uptime
: uucore/get_uptime should return a Duration
#7851
Labels
uptime
: uucore/get_uptime should return a Duration
#7851
uucore's
get_uptime
function:/proc/uptime
.Possibly depending on the fractional timestamp value at boot time, the second point can cause a 1 second offset between GNU coreutils and uutils:
I believe we should change the function signature to return a Duration.
Not sure how much we care about semver in
uucore
, we would need to modifyprocps
/uu_top
as well: see #7289.The text was updated successfully, but these errors were encountered: