20
0

fix part of issue #25

This commit is contained in:
Liu Ming 2017-07-26 09:39:26 +08:00
parent 7ea8f41efa
commit 63a567624a
2 changed files with 1 additions and 2 deletions

1
col.go
View File

@ -55,7 +55,6 @@ func (xf *XfRk) String(wb *WorkBook) string {
if !isFloat {
f = float64(i)
}
fmt.Println(formatter.str, "======")
t := timeFromExcelTime(f, wb.dateMode == 1)
return yymmdd.Format(t, formatter.str)
}

View File

@ -199,7 +199,7 @@ func (w *WorkBook) get_string(buf io.ReadSeeker, size uint16) (res string, err e
err = io.EOF
}
var bts1 = make([]uint16, size)
var bts1 = make([]uint16, n)
for k, v := range bts[:n] {
bts1[k] = uint16(v)
}