From 0e259b67464e17ff6a758bedd1720174352606d4 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Mon, 24 Feb 2025 14:05:14 +1100 Subject: [PATCH] feat: add localization support for SingleDatePicker and adjust month selection behavior --- playground/App.vue | 2 +- src/components/SingleDatePicker.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/App.vue b/playground/App.vue index 0faf946..b98df43 100644 --- a/playground/App.vue +++ b/playground/App.vue @@ -8,7 +8,7 @@ const date = ref(new Date()) diff --git a/src/components/SingleDatePicker.vue b/src/components/SingleDatePicker.vue index 40b66c2..a60df4b 100644 --- a/src/components/SingleDatePicker.vue +++ b/src/components/SingleDatePicker.vue @@ -36,7 +36,7 @@ }) const emit = defineEmits(['update:modelValue']) - const selectMonth = ref(true) + const selectMonth = ref(false) const uniqueId = generateUniqueId() const currentMonth = ref(new Date().getMonth()) const currentYear = ref(new Date().getFullYear())