projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f06f9ca
)
Roo/form/DateField.js
author
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:19:06 +0000
(17:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:19:06 +0000
(17:19 +0800)
Roo/form/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/form/DateField.js
b/Roo/form/DateField.js
index
9dc9d1f
..
561afba
100644
(file)
--- a/
Roo/form/DateField.js
+++ b/
Roo/form/DateField.js
@@
-254,6
+254,9
@@
dateField.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("|");