UPSTREAM: 73888: Use higher precision duration in server side print
Most other printers use the new 2-3 digit precision duration, and
the generic one should also.
@@ -67,5 +67,5 @@ func ConvertToHumanReadableDateType(timestamp metav1.Time) string {
if timestamp.IsZero() {
return "<unknown>"
}
- return duration.ShortHumanDuration(time.Now().Sub(timestamp.Time))
+ return duration.HumanDuration(time.Now().Sub(timestamp.Time))
}
