projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a104e6
)
Pman.Gnumeric.js
author
Edward
<edward@roojs.com>
Thu, 18 Jun 2015 10:37:27 +0000
(18:37 +0800)
committer
Edward
<edward@roojs.com>
Thu, 18 Jun 2015 10:37:27 +0000
(18:37 +0800)
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
377e63c
..
815ce3d
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-1387,10
+1387,9
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
if(
g.styles[0].firstElementChild.getAttribute('Format') == "D\\-MMM\\-YYYY;@" &&
g.value[0] != '=' &&
-
value.length
&&
- !isNaN(value * 1)
+
!isNaN(value * 1)
&&
+ value != 0
){
- Roo.log(value);
value = new Date(value * 24 * 60 * 60 * 1000 + new Date('1900-01-01').getTime()).format('d-M-Y');
}