fix: don't try to format invalid dates as ISO

This commit is contained in:
kolaente 2022-01-18 21:28:01 +01:00 committed by Gitea
parent 2e77df2db2
commit 50c3bcd793
2 changed files with 6 additions and 3 deletions

View file

@ -18,8 +18,7 @@ declare global {
}
}
import {formatDate, formatDateShort, formatDateLong, formatDateSince} from '@/helpers/time/formatDate'
import {formatISO} from 'date-fns'
import {formatDate, formatDateShort, formatDateLong, formatDateSince, formatISO} from '@/helpers/time/formatDate'
// @ts-ignore
import {VERSION} from './version.json'