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(date): return narrow format of weekday #17961

Conversation

prashantsinghb
Copy link
Contributor

fixes #17959

Description

Update i18n code to return narrow format of weekday.

Markup:

<template>
  <v-app>
    <v-container>
      <v-locale-provider locale="vi">
        <v-date-picker
          @update:model-value="handleUpdate"
          hide-actions
        ></v-date-picker>
      </v-locale-provider>
    </v-container>
  </v-app>
</template>

<script setup>
  import { toRaw } from 'vue'

  const handleUpdate = newValue => {
    console.log(toRaw(newValue))
  }
</script>

@KaelWD KaelWD merged commit 460c3aa into vuetifyjs:master Aug 7, 2023
8 of 10 checks passed
@prashantsinghb prashantsinghb deleted the feat/17959-vdatepicker-i18n-days-of-week branch August 7, 2023 14:01
prashantsinghb added a commit to prashantsinghb/vuetify that referenced this pull request Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.3.11] VDatePicker display incorrect the days of week by language
2 participants