Roo/form/MonthField.js
authorAlan Knowles <alan@roojs.com>
Mon, 22 Oct 2012 11:21:48 +0000 (19:21 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 22 Oct 2012 11:21:48 +0000 (19:21 +0800)
Roo/form/MonthField.js

index ab060e7..04f596a 100644 (file)
@@ -273,7 +273,7 @@ monthField.setValue('2006-5-4');
         }
         if (v) {
             // 
-            v = Date.parseDate(date.format('Y-m-01'));
+            v = Date.parseDate(date.format('Y-m' +'-01', 'Y-m-d'));
         }