From 072cd4cb77384d12774eb46f070e3555182ef61f Mon Sep 17 00:00:00 2001 From: Steffen Date: Thu, 7 Jan 2021 20:25:12 +0100 Subject: [PATCH] added vote time (closes #81) --- src/components/modals/VoteHistoryModal.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/modals/VoteHistoryModal.vue b/src/components/modals/VoteHistoryModal.vue index 4af0360..7550e3f 100644 --- a/src/components/modals/VoteHistoryModal.vue +++ b/src/components/modals/VoteHistoryModal.vue @@ -30,7 +30,9 @@ - {{ vote.timestamp.getHours() }}:{{ vote.timestamp.getMinutes() }} + {{ vote.timestamp.getHours().padStart(2, "0") }}:{{ + vote.timestamp.getMinutes().padStart(2, "0") + }} {{ vote.nominator }} {{ vote.nominee }}