vue3-datepicker icon indicating copy to clipboard operation
vue3-datepicker copied to clipboard

selected month is incorrect

Open ozgunn opened this issue 7 months ago • 0 comments

when I use month-picker & select a month, after submit the "month" value is displayed as the previous month.

"version": "7.4.0",

<VueDatePicker v-model="form.start_date" month-picker auto-apply :placeholder="$t('text.select')"></VueDatePicker>

for example: i select "May", "05/2023" appears on input. but after submit "month" becomes "4". if i choose "Jan", month becomes "0" etc..

Result: "start_date" => array:2 [▼ "month" => 4 "year" => 2023 ]

ozgunn avatar Dec 28 '23 21:12 ozgunn