1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +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 a238c47c4e
commit a44f4a55bb

View File

@ -1335,6 +1335,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()
}); });