From: Alexander Ebert Date: Sat, 29 Oct 2016 20:18:43 +0000 (+0200) Subject: Increased maximum age from 100 to 120 X-Git-Tag: 3.0.0_Beta_5~90 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e03a54a44b6291d928cbc2e3c344eb97d1df0200;p=GitHub%2FWoltLab%2FWCF.git Increased maximum age from 100 to 120 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Date/Picker.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Date/Picker.js index 79a2835b6f..a2cd93ea66 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Date/Picker.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Date/Picker.js @@ -75,7 +75,7 @@ define(['DateUtil', 'Language', 'ObjectMap', 'Dom/ChangeListener', 'Ui/Alignment // handle birthday input if (element.classList.contains('birthday')) { - elData(element, 'min-date', '100'); + elData(element, 'min-date', '120'); // do not use 'now' here, all though it makes sense, it causes bad UX elData(element, 'max-date', new Date().getFullYear() + '-12-31');