Fixes #16172 : allow change year in datetime or date

Signed-off-by: Ankush Patil <aspraz2658@gmail.com>
This commit is contained in:
Ankush Patil 2020-06-27 11:44:22 +05:30
parent 8d554c6c6d
commit c0651e2513
No known key found for this signature in database
GPG Key ID: 17E008160724A25B

View File

@ -139,6 +139,7 @@ Functions.addDatepicker = function ($thisElement, type, options) {
showMicrosec: true,
showTimepicker: showTimepicker,
showButtonPanel: false,
changeYear: true,
dateFormat: 'yy-mm-dd', // yy means year with four digits
timeFormat: 'HH:mm:ss.lc',
constrainInput: false,