projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9c5f16
)
Pman.Gnumeric.js
author
Edward
<edward@roojs.com>
Thu, 18 Jun 2015 10:22:15 +0000
(18:22 +0800)
committer
Edward
<edward@roojs.com>
Thu, 18 Jun 2015 10:22:15 +0000
(18:22 +0800)
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
39085a9
..
a16b548
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-1389,7
+1389,10
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
g.value[0] != '='
){
var vv = new Date(value);
- Roo.log(vv);
+
+ if(!isNaN(vv.getTime())){
+ value = (vv.getTime() / 24 / 60 / 60 / 1000) + new Date('1900-01-01').getTime();
+ }
}
} catch(e) {