projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
888a7d5
)
Allow only dates up to 2037-12-31 inside date picker
author
Alexander Ebert
<ebert@woltlab.com>
Tue, 6 Jun 2017 12:36:31 +0000
(14:36 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Tue, 6 Jun 2017 12:36:31 +0000
(14:36 +0200)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 27716dc37a47c7f24df13810c95d261acb858c1a..8dca6eba927f7c22b2d366571df81cef48dda175 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-3506,7
+3506,7
@@
WCF.Date.Picker = {
}
},
showOtherMonths: true,
- yearRange: ($input.hasClass('birthday') ? '-100:+0' : '1900:203
8
')
+ yearRange: ($input.hasClass('birthday') ? '-100:+0' : '1900:203
7
')
};
if ($hasTime) {
@@
-3551,7
+3551,7
@@
WCF.Date.Picker = {
showTime: false,
timeFormat: this._timeFormat,
timeOnly: $input.data('timeOnly') ? true : false,
- yearRange: ($input.hasClass('birthday') ? '-100:+0' : '1900:203
8
')
+ yearRange: ($input.hasClass('birthday') ? '-100:+0' : '1900:203
7
')
});
}