Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(VCalendar): use date adapter to create new date #19823

Merged
merged 1 commit into from
May 21, 2024

Conversation

SonTT19
Copy link
Contributor

@SonTT19 SonTT19 commented May 16, 2024

Description

fixes #19814

Markup:

<template>
  <v-app>
    <v-calendar />
  </v-app>
</template>

Add LuxonAdapter as your DateAdapter (need to install luxon as well)

import { createVuetify } from 'vuetify'
import LuxonAdapter from "@date-io/luxon"

export default createVuetify({
  date: {
    adapter: LuxonAdapter,
  },
})

@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VCalendar VCalendar labs labels May 16, 2024
@KaelWD KaelWD added this to the v3.6.x milestone May 21, 2024
@KaelWD KaelWD merged commit 905eb63 into master May 21, 2024
19 checks passed
@KaelWD KaelWD changed the title fix(VCalendar): using date adapter to create new date fix(VCalendar): use date adapter to create new date May 21, 2024
@KaelWD KaelWD deleted the fix/19814-v-calendar-date-adapter branch May 21, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VCalendar VCalendar labs T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.6.6] Undefined date methods when using VCalendar with Luxon Adapter
3 participants