Merge pull request #73888 from smarterclayton/duration

Make CRD column printers consistent with typed printers
This commit is contained in:
Kubernetes Prow Robot
2019-02-10 13:50:30 -08:00
committed by GitHub

View File

@@ -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))
}