Add age field to pr list / pr view#6085
Conversation
|
(no maintainer, just a user who happened to stumble across this PR). If it's a low hanging fruit, could it be done the same as the GitHub web interface, rendering a timestamp as relative to now for 1 month and after that formats as timestamp "2 Jan"? |
|
@LangLangBart It is not so hard to define formatter which is strictly same as the web view. Could you have any idea @vilmibm ? |
|
future TODO: both |
following cli#6085 * Inject fake `Now` function to tests of `issue list` / `pr list` * Remove `regexp` from the tests
Fixes #6080
pr listandpr viewdo not show PR's age for now.On the other hand,
issue listandissue viewshow the fuzzy age.This PR added the age field to
pr listandpr viewin the similar way toissue.