chore: remove date mixins
This commit is contained in:
@ -48,7 +48,7 @@
|
||||
</template>
|
||||
<div v-else-if="lastMigrationDate">
|
||||
<p>
|
||||
{{ $t('migrate.alreadyMigrated1', {name: migrator.name, date: formatDate(lastMigrationDate)}) }}<br/>
|
||||
{{ $t('migrate.alreadyMigrated1', {name: migrator.name, date: formatDateLong(lastMigrationDate)}) }}<br/>
|
||||
{{ $t('migrate.alreadyMigrated2') }}
|
||||
</p>
|
||||
<div class="buttons">
|
||||
@ -73,6 +73,8 @@ import AbstractMigrationFileService from '@/services/migrator/abstractMigrationF
|
||||
import Logo from '@/assets/logo.svg?component'
|
||||
import Message from '@/components/misc/message.vue'
|
||||
|
||||
import {formatDateLong} from '@/helpers/time/formatDate'
|
||||
|
||||
import {MIGRATORS} from './migrators'
|
||||
|
||||
const PROGRESS_DOTS_COUNT = 8
|
||||
@ -118,6 +120,8 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
methods: {
|
||||
formatDateLong,
|
||||
|
||||
async initMigration() {
|
||||
this.migrationService = this.migrator.isFileMigrator
|
||||
? new AbstractMigrationFileService(this.migrator.id)
|
||||
|
@ -78,6 +78,7 @@ import BaseButton from '@/components/base/BaseButton.vue'
|
||||
import Message from '@/components/misc/message.vue'
|
||||
import CaldavTokenService from '@/services/caldavToken'
|
||||
import type CaldavTokenModel from '@/models/caldavToken'
|
||||
import { formatDateShort } from '@/helpers/time/formatDate'
|
||||
|
||||
const copy = useCopyToClipboard()
|
||||
|
||||
|
@ -93,6 +93,7 @@ import {useI18n} from 'vue-i18n'
|
||||
|
||||
import AccountDeleteService from '@/services/accountDelete'
|
||||
import {parseDateOrNull} from '@/helpers/parseDateOrNull'
|
||||
import {formatDateShort, formatDateSince} from '@/helpers/time/formatDate'
|
||||
import {useTitle} from '@/composables/useTitle'
|
||||
import {success} from '@/message'
|
||||
|
||||
|
Reference in New Issue
Block a user