nextcloud-vue icon indicating copy to clipboard operation
nextcloud-vue copied to clipboard

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

Open radoeka opened this issue 4 years ago • 2 comments

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

radoeka avatar Oct 02 '21 08:10 radoeka

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 avatar Oct 02 '21 20:10 dartcafe

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

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

dartcafe avatar Oct 02 '21 20:10 dartcafe