This commit is contained in:
Torjus Håkestad 2021-04-10 14:00:04 +02:00
parent 9eaeb21867
commit c9f8d6ce0b

View File

@ -24,7 +24,10 @@ export default class AttemptList extends Vue {
sortable: true, sortable: true,
formatter: (value: string): string => { formatter: (value: string): string => {
const d = new Date(value); 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, sortByFormatted: false,
}, },