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:
4102e72
)
Fixed a few variables
author
Alexander Ebert
<ebert@woltlab.com>
Tue, 28 Oct 2014 10:47:28 +0000
(11:47 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Tue, 28 Oct 2014 10:47:28 +0000
(11:47 +0100)
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 ace5370eaa41db9e60ed92543646be85ff7cacc4..79a2943e5264d91a86d13a7b1a4850ce26cc4a9b 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-3026,8
+3026,8
@@
WCF.Date.Picker = {
// Date objects require a date and a time, thus
// add the current date to a time only-value
if ($input.data('timeOnly')) {
- $dateComponents = $inputValue.split(':');
- $date = new Date();
+
var
$dateComponents = $inputValue.split(':');
+
var
$date = new Date();
$date.setHours($dateComponents[0]);
$date.setMinutes($dateComponents[1]);
$date.setSeconds(0);