1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-10 21:24:33 +01:00

Adding yearRange to datePicker - fixes #914

This commit is contained in:
Thomas Müller 2015-07-01 13:12:14 +02:00
parent 23ef0adebd
commit 068267d17b

View File

@ -1334,6 +1334,7 @@ OC.Contacts = OC.Contacts || {};
dateFormat : datepickerFormatDate, dateFormat : datepickerFormatDate,
changeMonth: true, changeMonth: true,
changeYear: true, changeYear: true,
yearRange: '-100:+0',
minDate : new Date(1900,1,1), minDate : new Date(1900,1,1),
maxDate : new Date() maxDate : new Date()
}); });