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

@ -19,6 +19,7 @@ declare global {
}
import {formatDate, formatDateShort, formatDateLong, formatDateSince} from '@/helpers/time/formatDate'
import {formatISO} from 'date-fns'
// @ts-ignore
import {VERSION} from './version.json'
@ -85,6 +86,7 @@ app.mixin({
format: formatDate,
formatDate: formatDateLong,
formatDateShort: formatDateShort,
formatISO,
getNamespaceTitle,
getListTitle,
setTitle,