projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7af997
)
Roo/form/MonthField.js
author
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:18:45 +0000
(17:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:18:45 +0000
(17:18 +0800)
Roo/form/MonthField.js
patch
|
blob
|
history
diff --git
a/Roo/form/MonthField.js
b/Roo/form/MonthField.js
index
62e8f84
..
11584b3
100644
(file)
--- a/
Roo/form/MonthField.js
+++ b/
Roo/form/MonthField.js
@@
-262,6
+262,11
@@
monthField.setValue('2006-5-4');
return value;
}
var v = Date.parseDate(value, this.format);
+ if (this.useIso) {
+ v = Date.parseDate(value, 'Y-m-d');
+ }
+
+
if(!v && this.altFormats){
if(!this.altFormatsArray){
this.altFormatsArray = this.altFormats.split("|");