added vote time (closes #81)

This commit is contained in:
Steffen 2021-01-07 20:25:12 +01:00
parent be89d51ae6
commit 072cd4cb77
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@
<tbody> <tbody>
<tr v-for="(vote, index) in session.voteHistory" :key="index"> <tr v-for="(vote, index) in session.voteHistory" :key="index">
<td> <td>
{{ vote.timestamp.getHours() }}:{{ vote.timestamp.getMinutes() }} {{ vote.timestamp.getHours().padStart(2, "0") }}:{{
vote.timestamp.getMinutes().padStart(2, "0")
}}
</td> </td>
<td>{{ vote.nominator }}</td> <td>{{ vote.nominator }}</td>
<td>{{ vote.nominee }}</td> <td>{{ vote.nominee }}</td>