Change time formatting in attempt list
This commit is contained in:
parent
ea1b37010b
commit
38ef748dd0
@ -22,7 +22,10 @@ export default class AttemptList extends Vue {
|
||||
{
|
||||
key: 'date',
|
||||
sortable: true,
|
||||
formatter: (value: string): string => new Date(value).toTimeString(),
|
||||
formatter: (value: string): string => {
|
||||
const d = new Date(value);
|
||||
return `${d.getUTCHours}:${d.getUTCMinutes}:${d.getUTCSeconds}`;
|
||||
},
|
||||
sortByFormatted: false,
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user