projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80c48c
)
Roo/DatePicker.js
author
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:05:43 +0000
(17:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:05:43 +0000
(17:05 +0800)
Roo/DatePicker.js
patch
|
blob
|
history
diff --git
a/Roo/DatePicker.js
b/Roo/DatePicker.js
index
95e764b
..
555856e
100644
(file)
--- a/
Roo/DatePicker.js
+++ b/
Roo/DatePicker.js
@@
-171,7
+171,7
@@
Roo.extend(Roo.DatePicker, Roo.Component, {
setValue : function(value){
var old = this.value;
if (typeof(value) == 'string') {
- value = Date.parseDate(value,
'Y-m-d'
);
+ value = Date.parseDate(value,
this.format
);
}
this.value = value.clearTime(true);