projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbe4e8
)
Roo/bootstrap/DateField.js
author
Edward
<edward@roojs.com>
Mon, 9 Mar 2015 03:27:24 +0000
(11:27 +0800)
committer
Edward
<edward@roojs.com>
Mon, 9 Mar 2015 03:27:24 +0000
(11:27 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
fcd3c45
..
fad44f9
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-537,7
+537,6
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
setValue: function(v)
{
var d = new Date(v).clearTime();
- Roo.log(d);
if(isNaN(d.getTime())){
this.date = this.viewDate = '';
@@
-549,8
+548,7
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
Roo.bootstrap.DateField.superclass.setValue.call(this, v);
-// this.date = this.viewDate = new Date(d.getTime());
- this.date = this.viewDate = new Date(d.getTime() - d.getTimezoneOffset()*60000);
+ this.date = new Date(d.getTime() - d.getTimezoneOffset()*60000);
this.update();