Update EditHistoryModal, use proper timestamp

This commit is contained in:
Daniel Supernault 2023-05-25 01:40:21 -06:00
parent 6bf3142e8b
commit 2a10809fa3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
<span class="font-weight-bold">{{ allHistory[0].account.username }}</span>
</div>
<div>{{ historyIndex == (allHistory.length - 1) ? 'created' : 'edited' }} {{ formatTime(allHistory[allHistory.length - 1].created_at) }}</div>
<div>{{ historyIndex == (allHistory.length - 1) ? 'created' : 'edited' }} {{ formatTime(allHistory[historyIndex].created_at) }}</div>
</div>
</div>