feat: short time ago
This commit is contained in:
parent
9b207de718
commit
a9af7e4a09
4 changed files with 56 additions and 40 deletions
|
@ -41,7 +41,7 @@ function go(evt: MouseEvent | KeyboardEvent) {
|
|||
}
|
||||
|
||||
const createdAt = useFormattedDateTime(status.createdAt)
|
||||
const timeAgoOptions = useTimeAgoOptions()
|
||||
const timeAgoOptions = useTimeAgoOptions(true)
|
||||
const timeago = useTimeAgo(() => status.createdAt, timeAgoOptions)
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue