projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pman.Gnumeric.js
[Pman.Core]
/
Pman.Gnumeric.js
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] != '=' &&
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');
}
value = new Date(value * 24 * 60 * 60 * 1000 + new Date('1900-01-01').getTime()).format('d-M-Y');
}