From 5ed7b041a4c780abd6ed656f9e5d5130bb9f8ac2 Mon Sep 17 00:00:00 2001 From: Mohamad Noori <58817596+mmnoori@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:37:32 +0330 Subject: [PATCH] Update date.ts If you want to use a custom date adapter, you can configure it using vuetifyOptions.date.adapter = 'custom' --- src/runtime/plugins/date.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/plugins/date.ts b/src/runtime/plugins/date.ts index 2da9812..d488018 100644 --- a/src/runtime/plugins/date.ts +++ b/src/runtime/plugins/date.ts @@ -3,8 +3,8 @@ import type { VuetifyOptions } from 'vuetify' import { useNuxtApp } from '#imports' export function configureDate(vuetifyOptions: VuetifyOptions) { - if (adapter === 'custom' || !enabled) - return + // if (adapter === 'custom' || !enabled) + // return const dateOptions = dateConfiguration()