Skip to content

Specify "string" for data adapter #383

Open

Description

@septatrix

Problem / motivation

Currently it only seems possible to use the StringDateAdapter by using the custom option and jumping through some hoops

Proposed solution

If the user passes "string" as the date option, use the string adapter

Alternatives considered

No response

Additional context

No response

Validations

  • I have searched the existing issues and this is not a duplicate.
  • I have read the documentation.

Activity

  1. added this to the 1.1.0 milestone on Aug 22, 2026
  2. modified the milestones: 1.1.0, 1.0.0 on Aug 23, 2026
  3. mikemikimike commented on Sep 22, 2026

    @mikemikimike

    Implemented in PR #387: #387

    • Uses the stable vuetify/date/adapters/string export.
    • Passes StringDateAdapter as a class so Vuetify controls construction and locale updates.
    • Keeps a clear Vuetify 3.9.0 compatibility guard.
    • Adds a regression test that loads the generated virtual module through Vite and verifies the adapter class.

    Validation completed locally:

    • Full package tests: 18 files, 59 tests passed.
    • Date configuration tests: 6 passed.
    • Package lint and prepack build passed.
    • git diff --check passed.

    The repository-wide vue-tsc --noEmit command still reports existing diagnostics in unrelated playground and runtime files; the changed test file is not among those diagnostics. The fork's CR workflow is currently waiting for upstream approval, while the Semantic PR check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions