The cataloging plugin which affects date fields in cataloging (952$d "date acquired" in the default MARC21 framework) uses the old jQueryUI datepicker. It should be updated to use Flatpickr.
Created attachment 127092 [details] [review] Bug 29369: Use Flatpickr in dateaccessioned cataloging plugin This patch udpates the dateaccessioned cataloging plugin to use the Flatpickr date picker instead of jQueryUI. To test, apply the patch and open an item for editing in Cataloging. - The date acquired field (952$d) should have flatpickr styling. - Clicking in the field should populate the field with today's date and trigger the calendar popup. - Clicking the "..." next to the field should populate the field (when empty) with today's date. - Verify that tabbing from a different field into the date acquired field behaves the same as a click.
Created attachment 127101 [details] [review] Bug 29369: Use Flatpickr in dateaccessioned cataloging plugin This patch udpates the dateaccessioned cataloging plugin to use the Flatpickr date picker instead of jQueryUI. To test, apply the patch and open an item for editing in Cataloging. - The date acquired field (952$d) should have flatpickr styling. - Clicking in the field should populate the field with today's date and trigger the calendar popup. - Clicking the "..." next to the field should populate the field (when empty) with today's date. - Verify that tabbing from a different field into the date acquired field behaves the same as a click. Signed-off-by: David Nind <david@davidnind.com>
Created attachment 127114 [details] [review] Bug 29369: Use Flatpickr in dateaccessioned cataloging plugin This patch udpates the dateaccessioned cataloging plugin to use the Flatpickr date picker instead of jQueryUI. To test, apply the patch and open an item for editing in Cataloging. - The date acquired field (952$d) should have flatpickr styling. - Clicking in the field should populate the field with today's date and trigger the calendar popup. - Clicking the "..." next to the field should populate the field (when empty) with today's date. - Verify that tabbing from a different field into the date acquired field behaves the same as a click. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 21.11, thanks to everybody involved!