(author: Author)
| 44 | } |
| 45 | |
| 46 | export function formatAuthor(author: Author) { |
| 47 | return author.ok ? author.value : `(${author.error.claimedAuthor})`; |
| 48 | } |
| 49 | |
| 50 | export function formatDate(date: Date, humanReadable: boolean = false) { |
| 51 | if (humanReadable) { |
no outgoing calls
no test coverage detected