Add user list command #427

Merged
6543 merged 9 commits from admin-list-users into main 2022-09-13 19:49:35 +00:00
Showing only changes of commit 93c0d3cbc2 - Show all commits

View File

@ -127,9 +127,9 @@ func (x printableUser) FormatField(field string, machineReadable bool) string {
case "visibility":
return string(x.Visibility)
case "created_at":
return FormatTime(x.Created)
return FormatTime(x.Created, machineReadable)
case "lastlogin_at":
return FormatTime(x.LastLogin)
return FormatTime(x.LastLogin, machineReadable)
}
return ""
}