From c9f8d6ce0b2147c4018d3bfdcf8b86c92299b683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sat, 10 Apr 2021 14:00:04 +0200 Subject: [PATCH] Sigh --- web/frontend/src/components/AttemptList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/frontend/src/components/AttemptList.vue b/web/frontend/src/components/AttemptList.vue index 3598162..31cf676 100644 --- a/web/frontend/src/components/AttemptList.vue +++ b/web/frontend/src/components/AttemptList.vue @@ -24,7 +24,10 @@ export default class AttemptList extends Vue { sortable: true, formatter: (value: string): string => { const d = new Date(value); - return `${d.getUTCHours()}:${d.getUTCMinutes()}:${d.getUTCSeconds()}`; + const hours = d.getUTCHours(); + const minutes = d.getUTCMinutes(); + const seconds = d.getUTCSeconds(); + return `${hours}:${minutes}:${seconds}`; }, sortByFormatted: false, },