forked from sheetjs/sheetjs
fix: missing break condition in make_json_row
This commit is contained in:
parent
318e2319ee
commit
9c3853ba25
@ -24,7 +24,7 @@ function make_json_row(sheet/*:Worksheet*/, r/*:Range*/, R/*:number*/, cols/*:Ar
|
||||
switch(val.t){
|
||||
case 'z': if(v == null) break; continue;
|
||||
case 'e': v = (v == 0 ? null : void 0); break;
|
||||
case 's': case 'b':
|
||||
case 's': case 'b':break;
|
||||
case 'n': if(!val.z || !fmt_is_date(val.z)) break;
|
||||
v = numdate(v); // TODO: date1904 setting should also be stored in worksheet object
|
||||
if(typeof v == "number") break;
|
||||
|
Loading…
Reference in New Issue
Block a user