Another attempt at fixing the damn date
This commit is contained in:
parent
c9f8d6ce0b
commit
28120637e1
@ -24,10 +24,8 @@ export default class AttemptList extends Vue {
|
||||
sortable: true,
|
||||
formatter: (value: string): string => {
|
||||
const d = new Date(value);
|
||||
const hours = d.getUTCHours();
|
||||
const minutes = d.getUTCMinutes();
|
||||
const seconds = d.getUTCSeconds();
|
||||
return `${hours}:${minutes}:${seconds}`;
|
||||
// This seems stupid...
|
||||
return d.toTimeString().split(' ')[0];
|
||||
},
|
||||
sortByFormatted: false,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user