[Koha-bugs] [Bug 28351] Cannot set restrictions when 'dateformat' is other than 'us'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 19 14:32:35 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28351

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #121080|0                           |1
        is obsolete|                            |

--- Comment #16 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 121163
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121163&action=edit
Bug 28351: (bug 26261) Fix datepicker for dateformat ne mm/dd/yyyy

This patch restores the same code we have prior to bug 26261

0. Set dateformat to mm/dd/yyyy
1. Go to a patron detail page
2. Open the 'Restrictions' tab
3. Choose a future date in which the day is higher than 12
=> SUCCESS: The input has the date we chose
4. Set dateformat to dd/mm/yyyy
5. Repeat 3
=> FAIL: It sets the current date, the browser console shows an error.

Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
Signed-off-by: Tomás Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list