diff --git a/web/frontend/src/components/AttemptList.vue b/web/frontend/src/components/AttemptList.vue index a0f21a2..6a32655 100644 --- a/web/frontend/src/components/AttemptList.vue +++ b/web/frontend/src/components/AttemptList.vue @@ -12,9 +12,10 @@ import { Component, Prop, Vue } from 'vue-property-decorator'; import { BvTableFieldArray, BvTableFormatterCallback } from 'bootstrap-vue'; import { LoginAttempt } from '@/apiary/apiary'; -const timeFormatter: BvTableFormatterCallback = (value: string) => { +const timeFormatter: BvTableFormatterCallback = (value: string): string => { const d = new Date(value); - return `${d.getUTCHours}:${d.getUTCMinutes}:${d.getUTCSeconds}`; + const s = `${d.getUTCHours}:${d.getUTCMinutes}:${d.getUTCSeconds}`; + return s; }; @Component