Describe the bug
When using the prop format-locale with a browser using a timezone different from UTC, the months of a year are computed wrong, from December to November.
To Reproduce
Set your browser timezone to a value different from UTC or +00:00, then use a date-fns locale as a value of the prop format-locale
Describe the bug When using the prop
format-locale
with a browser using a timezone different fromUTC
, the months of a year are computed wrong, from December to November.To Reproduce Set your browser timezone to a value different from
UTC
or+00:00
, then use adate-fns
locale as a value of the propformat-locale
Codesandbox: https://codesandbox.io/p/devbox/prod-glitter-lm5nsv
Expected behavior The months should be in the correct order from January to December
Screenshots![image](https://github.com/Vuepic/vue-datepicker/assets/156701703/a2a1feda-396d-416c-b4ea-1e9ad8dbb02a)
Desktop & mobile (please complete the following information):