From c0651e25131d93b6a9d1b0e2437d146f9c7b93cf Mon Sep 17 00:00:00 2001 From: Ankush Patil Date: Sat, 27 Jun 2020 11:44:22 +0530 Subject: [PATCH] Fixes #16172 : allow change year in datetime or date Signed-off-by: Ankush Patil --- js/functions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/functions.js b/js/functions.js index 7dc9961957..89502bbc21 100644 --- a/js/functions.js +++ b/js/functions.js @@ -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,