Skip to content

Commit 3dfb9e8

Browse files
authored
Merge pull request kubernetes#73888 from smarterclayton/duration
Make CRD column printers consistent with typed printers
2 parents b862590 + 6b1a510 commit 3dfb9e8

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/apimachinery/pkg/api/meta/table

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apimachinery/pkg/api/meta/table/table.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ func ConvertToHumanReadableDateType(timestamp metav1.Time) string {
6767
if timestamp.IsZero() {
6868
return "<unknown>"
6969
}
70-
return duration.ShortHumanDuration(time.Now().Sub(timestamp.Time))
70+
return duration.HumanDuration(time.Now().Sub(timestamp.Time))
7171
}

0 commit comments

Comments
 (0)