feat(a11y): use <time> tag for dates everywhere
This commit is contained in:
parent
443a9c14b9
commit
0e47cebed5
5 changed files with 27 additions and 15 deletions
|
|
@ -1,6 +1,8 @@
|
|||
<template>
|
||||
<td v-tooltip="+date === 0 ? '' : formatDate(date)">
|
||||
{{ +date === 0 ? '-' : formatDateSince(date) }}
|
||||
<time :datetime="date ? formatISO(date) : null">
|
||||
{{ +date === 0 ? '-' : formatDateSince(date) }}
|
||||
</time>
|
||||
</td>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Reference in a new issue