mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #73888 from smarterclayton/duration
Make CRD column printers consistent with typed printers
This commit is contained in:
commit
3dfb9e8f49
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user