nextcloud-libraries / nextcloud-vue

🍱 Vue.js components for Nextcloud app development ✌ https://npmjs.org/@nextcloud/vue
https://nextcloud-vue-components.netlify.app/
Other
217 stars 85 forks source link

Last dates shown when adding date range are different when shown in 2 months #2303

Open radoeka opened 3 years ago

radoeka commented 3 years ago

What is going wrong? What did you observe?

Describe the bug

When adding a date range, where the last dates of the first month are shown in the second month the last date are different in the 2 involved months:

image

Steps to reproduce the behavior

  1. Go to Opties, Add Date -> select add range
  2. Select a range starting in 1 month and ending the same date
  3. The last date should also be part of the next date
  4. See error

image

Add a screenshot of the misbehavior

See above.

How should it work?

The last dates should be exactly the same.

Information about your polls installation

Polls version: 3.2.0

dartcafe commented 3 years ago

This issue seems to come from the nextcloud datetimePicker.

I tried with the option range here: https://nextcloud-vue-components.netlify.app/#/Components/Pickers?id=datetimepicker grafik

dartcafe commented 3 years ago

Argh. Correction. This comes from https://github.com/mengxiong10/vue2-datepicker

See https://mengxiong10.github.io/vue2-datepicker/index.html grafik