1
0

feat(a11y): use <time> tag for dates everywhere

This commit is contained in:
kolaente
2022-01-16 17:57:19 +01:00
committed by Gitea
parent 443a9c14b9
commit 0e47cebed5
5 changed files with 27 additions and 15 deletions

View File

@ -28,9 +28,9 @@
<span class="icon">
<icon :icon="['far', 'calendar-alt']"/>
</span>
<span>
<time :datetime="formatISO(task.dueDate)">
{{ formatDateSince(task.dueDate) }}
</span>
</time>
</span>
<h3>{{ task.title }}</h3>
<progress