1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Merge pull request #524 from xhess/patch-1

birthday date picker date range
This commit is contained in:
jbtbnl 2014-07-02 14:18:24 +02:00
commit 0311f15868

View File

@ -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()));