forked from TrueCloudLab/frostfs-node
[#1074] neofs-cli: Move PrettyPrintUnixTime
to the common
package
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
b432558aaa
commit
736e09a70d
3 changed files with 17 additions and 13 deletions
|
@ -1040,7 +1040,7 @@ func printHeader(cmd *cobra.Command, obj *object.Object) error {
|
|||
cmd.Printf(" %s=%s (%s)\n",
|
||||
attr.Key(),
|
||||
attr.Value(),
|
||||
prettyPrintUnixTime(attr.Value()))
|
||||
common.PrettyPrintUnixTime(attr.Value()))
|
||||
continue
|
||||
}
|
||||
cmd.Printf(" %s=%s\n", attr.Key(), attr.Value())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue