X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Gnumeric.js;h=51b5d84d993d9b4729a156fe18dfdc7e21b82ba5;hb=3ab69963f102b58c27d1c68c20c2409cfd211745;hp=f0852a681fcc48256b089ec17be578b1293a71b4;hpb=c92ae047b5d8446557ab52e30a943ef4d7d6c35a;p=Pman.Core diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index f0852a68..51b5d84d 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1387,6 +1387,7 @@ 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) ){ value = new Date(value * 24 * 60 * 60 * 1000 + new Date('1900-01-01').getTime());