fix part of issue #25
This commit is contained in:
parent
7ea8f41efa
commit
63a567624a
1
col.go
1
col.go
@ -55,7 +55,6 @@ func (xf *XfRk) String(wb *WorkBook) string {
|
|||||||
if !isFloat {
|
if !isFloat {
|
||||||
f = float64(i)
|
f = float64(i)
|
||||||
}
|
}
|
||||||
fmt.Println(formatter.str, "======")
|
|
||||||
t := timeFromExcelTime(f, wb.dateMode == 1)
|
t := timeFromExcelTime(f, wb.dateMode == 1)
|
||||||
return yymmdd.Format(t, formatter.str)
|
return yymmdd.Format(t, formatter.str)
|
||||||
}
|
}
|
||||||
|
@ -199,7 +199,7 @@ func (w *WorkBook) get_string(buf io.ReadSeeker, size uint16) (res string, err e
|
|||||||
err = io.EOF
|
err = io.EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
var bts1 = make([]uint16, size)
|
var bts1 = make([]uint16, n)
|
||||||
for k, v := range bts[:n] {
|
for k, v := range bts[:n] {
|
||||||
bts1[k] = uint16(v)
|
bts1[k] = uint16(v)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user