mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
birthday date picker date range
change birthday date range from the future to the past. see: https://github.com/owncloud/contacts/issues/520
This commit is contained in:
parent
0e0fb52690
commit
e5a2c205a3
@ -1332,7 +1332,9 @@ OC.Contacts = OC.Contacts || {};
|
||||
$bdayinput.datepicker({
|
||||
dateFormat : datepickerFormatDate,
|
||||
changeMonth: true,
|
||||
changeYear: true
|
||||
changeYear: true,
|
||||
minDate : new Date(1900,1,1),
|
||||
maxDate : new Date()
|
||||
});
|
||||
$bdayinput.attr('placeholder', $.datepicker.formatDate(datepickerFormatDate, new Date()));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user