Roo/form/MonthField.js
authorChris <chris@roojs.com>
Thu, 18 Oct 2012 09:48:34 +0000 (17:48 +0800)
committerChris <chris@roojs.com>
Thu, 18 Oct 2012 09:48:34 +0000 (17:48 +0800)
Roo/form/MonthField.js

index 1808be0..6574c1d 100644 (file)
@@ -340,7 +340,7 @@ dateField.setValue('2006-5-4');
                 }else{
                     this.monthPicker.slideOut('t', {duration:.2});
                     Roo.log(3)
-                    p.setValue(new Date(m.picker.mpSelYear, m.picker.mpSelMonth).clearTime());
+                    p.setValue(new Date(m.picker.mpSelYear, m.picker.mpSelMonth));
                     p.fireEvent("select", this, this.value);
                     m.hide();
                 }