From dc5d5a78cbff7b73dca16bf1552c84a37c7e21bf Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 22 Oct 2012 17:12:56 +0800 Subject: [PATCH] Roo/form/MonthField.js --- Roo/form/MonthField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/form/MonthField.js b/Roo/form/MonthField.js index 55e5c9d9c4..4d27172022 100644 --- a/Roo/form/MonthField.js +++ b/Roo/form/MonthField.js @@ -325,7 +325,7 @@ monthField.setValue('2006-5-4'); var m = this.menu; var p = m.picker; - o.format = this.useIso ? this.format : 'Y-m-d'; // make sure they are the same..? + o.format = this.useIso ? 'Y-m-d' : this.format; // make sure they are the same..? Roo.log('picker set value'); Roo.log(this.getValue()); p.setValue(this.getValue() || new Date()); -- 2.39.2