diff --git a/resources/js/components/transactions/import-step-preview.tsx b/resources/js/components/transactions/import-step-preview.tsx index 68fdbf9b..ed8243f0 100644 --- a/resources/js/components/transactions/import-step-preview.tsx +++ b/resources/js/components/transactions/import-step-preview.tsx @@ -18,10 +18,8 @@ import { } from '@/components/ui/table'; import { useEncryptionKey } from '@/contexts/encryption-key-context'; import { useLocale } from '@/hooks/use-locale'; -import { - transactionSyncService, - type Transaction, -} from '@/services/transaction-sync'; +import { transactionSyncService } from '@/services/transaction-sync'; +import { type Transaction } from '@/types/transaction'; import { type ParsedTransaction } from '@/types/import'; import { formatDateMedium } from '@/utils/date'; import { __ } from '@/utils/i18n'; @@ -269,8 +267,9 @@ export function ImportStepPreview({ {existingTransactions.map((tx) => ( - {formatDate( + {formatDateMedium( tx.transaction_date, + locale, )} @@ -287,10 +286,7 @@ export function ImportStepPreview({