Recently, I have been utilizing the datepicker component from vuejs-datepicker. However, I encountered an issue where upon form submission, the date and month switch places. For instance, 10/08/2018 (dd/MM/yyyy) eventually displays as 08/10/2018, leading to a considerable amount of complications. Upon my research, I discovered that the datepicker internally utilizes Date.parse for date parsing, which seems to be the root of the problem. How can I go about resolving this issue?
<datepicker
v-model="eoriModel.c1_date"
placeholder="Choose a date"
:format="DatePickerFormat"
:clearButton="true"></datepicker>
DatePickerFormat: dd/MM/yyyy