Vuepic / vue3-date-time-picker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
158 stars 13 forks source link

reverseYears prop should only reverse the order in years overlay and months overlay should be unaffected #123

Closed voidst1 closed 2 years ago

voidst1 commented 2 years ago

Describe the bug When reverseYears prop is set to true, the rows in months overlay is also reversed.

Mar Feb Jan Jun May Apr Sep Aug Jul Dec Nov Oct

To Reproduce Steps to reproduce the behavior:

  1. Go to https://vue3datepicker.com/api/props/#reverseyears
  2. Click on the date picker, then click on the month.
  3. See months overlay.

Expected behavior The month overlay should remain in it's original order and the reverseYears prop should have no effect on it.

Screenshots Not able to attach.

I have fixed this and will commit the codes after submitting this bug report.

Jasenkoo commented 2 years ago

Thx for fixing it, I don't know if you saw (#121), but will include the fix in the new version, should be live this weekend.

voidst1 commented 2 years ago

Yes, I did saw. Great work and I look forward to it.