fix(ui): Prettify event timestamps

Closes #243
This commit is contained in:
TwiN
2022-02-03 20:16:13 -05:00
parent 4d0f3b6997
commit 3f961a7408
8 changed files with 21 additions and 18 deletions

View File

@ -70,7 +70,7 @@
</h2>
<div class="flex mt-1 text-sm text-gray-400">
<div class="flex-1 text-left pl-10">
{{ new Date(event.timestamp).toISOString() }}
{{ prettifyTimestamp(event.timestamp) }}
</div>
<div class="flex-1 text-right">
{{ event.fancyTimeAgo }}