shadcn-vue icon indicating copy to clipboard operation
shadcn-vue copied to clipboard

[Bug]: Khmer language doesn't work with all date picker / Calendar

Open Kokleng-Dev opened this issue 6 months ago • 0 comments

import { km, th, es, zhCN } from "date-fns/locale";

<Calendar
  v-model="model"
  :year="selectedYear"
  :month="selectedMonth + 1"
  initial-focus
  :locale="km.code"
/>

work for all language but except km (khmer)

System info:

"dependencies": {
    "@date-fns/upgrade": "^1.0.3",
    "@intlify/message-compiler": "^11.1.3",
    "@nuxt/image": "^1.10.0",
    "@nuxt/kit": "^3.16.2",
    "@nuxt/schema": "^3.16.2",
    "@nuxtjs/device": "^3.2.4",
    "@nuxtjs/i18n": "9.5.2",
    "@pinia/nuxt": "^0.8.0",
    "@radix-icons/vue": "^1.0.0",
    "@tailwindcss/vite": "^4.1.3",
    "@unhead/vue": "^2.0.4",
    "@unovis/ts": "^1.5.1",
    "@unovis/vue": "^1.5.1",
    "@vee-validate/zod": "^4.15.0",
    "@vueuse/core": "^13.1.0",
    "apexcharts": "^4.5.0",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "crypto-js": "^4.2.0",
    "date-fns": "^4.1.0",
    "embla-carousel-vue": "^8.6.0",
    "flag-icons": "^7.3.2",
    "jspdf": "^2.5.2",
    "jspdf-autotable": "^3.8.4",
    "lucide-vue-next": "^0.487.0",
    "nuxt": "^3.16.2",
    "pinia": "^2.3.1",
    "radix-vue": "^1.9.17",
    "reka-ui": "^2.2.0",
    "shadcn-nuxt": "^0.10.4",
    "tailwind-merge": "^3.2.0",
    "tailwindcss": "3.4.0",
    "tailwindcss-animate": "^1.0.7",
    "tw-animate-css": "^1.2.5",
    "tw-bootstrap-grid-optimizer": "^1.0.2",
    "unhead": "^2.0.4",
    "vaul-vue": "^0.2.1",
    "vee-validate": "^4.15.0",
    "vue": "latest",
    "vue-router": "latest",
    "vue-sonner": "^1.3.0",
    "vue3-apexcharts": "^1.8.0",
    "xlsx": "^0.18.5",
    "zod": "^3.24.2"
  },

Kokleng-Dev avatar Apr 11 '25 17:04 Kokleng-Dev