Show only registration date on whois
Time is not that relevant and causes noise
This commit is contained in:
parent
0ab0db048c
commit
ef697c3bee
2 changed files with 2 additions and 2 deletions
|
@ -472,7 +472,7 @@ def test_whoami(mock_get, capsys):
|
|||
assert "A developer." in out
|
||||
assert "https://mastodon.social/@ihabunek" in out
|
||||
assert "ID: 46103" in out
|
||||
assert "Since: 2017-04-04 @ 13:23:09" in out
|
||||
assert "Since: 2017-04-04" in out
|
||||
assert "Followers: 5" in out
|
||||
assert "Following: 9" in out
|
||||
assert "Statuses: 19" in out
|
||||
|
|
|
@ -177,7 +177,7 @@ def print_account(account):
|
|||
|
||||
print_out("")
|
||||
print_out("ID: <green>{}</green>".format(account['id']))
|
||||
print_out("Since: <green>{}</green>".format(account['created_at'][:19].replace('T', ' @ ')))
|
||||
print_out("Since: <green>{}</green>".format(account['created_at'][:10]))
|
||||
print_out("")
|
||||
print_out("Followers: <yellow>{}</yellow>".format(account['followers_count']))
|
||||
print_out("Following: <yellow>{}</yellow>".format(account['following_count']))
|
||||
|
|
Loading…
Reference in a new issue