Try to fix formatter again
This commit is contained in:
parent
961c219d6e
commit
b6a6f45f45
@ -12,9 +12,10 @@ import { Component, Prop, Vue } from 'vue-property-decorator';
|
|||||||
import { BvTableFieldArray, BvTableFormatterCallback } from 'bootstrap-vue';
|
import { BvTableFieldArray, BvTableFormatterCallback } from 'bootstrap-vue';
|
||||||
import { LoginAttempt } from '@/apiary/apiary';
|
import { LoginAttempt } from '@/apiary/apiary';
|
||||||
|
|
||||||
const timeFormatter: BvTableFormatterCallback = (value: string) => {
|
const timeFormatter: BvTableFormatterCallback = (value: string): string => {
|
||||||
const d = new Date(value);
|
const d = new Date(value);
|
||||||
return `${d.getUTCHours}:${d.getUTCMinutes}:${d.getUTCSeconds}`;
|
const s = `${d.getUTCHours}:${d.getUTCMinutes}:${d.getUTCSeconds}`;
|
||||||
|
return s;
|
||||||
};
|
};
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
|
Loading…
Reference in New Issue
Block a user