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,
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,
},