projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f6ba4b
)
Roo/bootstrap/DateField.js
author
Edward
<edward@roojs.com>
Mon, 26 May 2014 10:37:27 +0000
(18:37 +0800)
committer
Edward
<edward@roojs.com>
Mon, 26 May 2014 10:37:27 +0000
(18:37 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
0f1e80f
..
502106c
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-432,6
+432,8
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
this.viewDate = new Date(this.date);
}
+ this.time = (typeof(this.time) === 'undefined') ? this.UTCTime() : (typeof(this.time) === 'string') ? this.parseDate(this.time) : this.time;
+
this.fill();
},