projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9523c5d
)
Pman.Gnumeric.js
author
Edward
<edward@roojs.com>
Thu, 18 Jun 2015 10:12:51 +0000
(18:12 +0800)
committer
Edward
<edward@roojs.com>
Thu, 18 Jun 2015 10:12:51 +0000
(18:12 +0800)
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
4fa3ba5
..
17bf7d8
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-1383,9
+1383,24
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
var value = g.value[0] == '=' ? 'CALCULATED' : g.value;
var value = g.value[0] == '=' ? 'CALCULATED' : g.value;
- var vv = new Date(value);
- if(!isNaN(vv.getTime())){
+// if(
+// typeof(g.styles.firstElementChild.attributes) != 'undefined' &&
+// typeof(g.styles.firstElementChild.attributes[12])
+// ){
+//
+// }
+ if(value == '01/Jan/2014'){
+ Roo.log(g.styles[0].firstElementChild.attributes[12].value);
Roo.log(value);
Roo.log(value);
+ Roo.log(typeof(value));
+ Roo.log(typeof(g.styles[0].firstElementChild.attributes[12].value));
+ }
+ if(
+ typeof(g.styles[0].firstElementChild.attributes[12].value) != 'undefined' &&
+ g.styles[0].firstElementChild.attributes[12].value.toString() == "D\-MMM\-YYYY;@"
+ ){
+ Roo.log(value);
+ value = 'test';
}
}