Closed thaJeztah closed 5 years ago
@vdemeester @AkihiroSuda PTAL (happy to get your input on this one)
Thinking of pushing a new tag after this one (and my other PR https://github.com/docker/go-units/pull/33) is merged; WDYT; should that be v0.3.4
or v0.4.0
?
I would vote for 0.4.0
This partially reverts commit 57ccf259e39e1e6d33ebc140814166820abb4c6f (https://github.com/docker/go-units/pull/22).
Using 46 minutes as a threshold proved to be confusing (see https://github.com/moby/moby/issues/38807), given that the human-duration does not use "15 minute" precision anywhere.
Before this patch, 47 minutes was shown as "About an hour". With this change, it's shown as "47 minutes".
Addresses https://github.com/moby/moby/issues/38807