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

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