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
|
|
@ -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,
|
||||
|
|
|
|||
Reference in a new issue