chore: remove date mixins

This commit is contained in:
Dominik Pschenitschni 2022-06-23 02:58:00 +02:00
parent 332acf012c
commit b0ee316a26
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
14 changed files with 43 additions and 24 deletions

View file

@ -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)