Description
The "Created Time" output in Harbor CLI does not correctly handle pluralisation of time units.
For example:
- "2 hour ago" instead of "2 hours ago"
- "4 day ago" instead of "4 days ago"
Proposed Fix
Update the time formatting logic to conditionally pluralise time units (minute, hour, day) based on their value.
Description
The "Created Time" output in Harbor CLI does not correctly handle pluralisation of time units.
For example:
Proposed Fix
Update the time formatting logic to conditionally pluralise time units (minute, hour, day) based on their value.