Skip to content

Commit

Permalink
fix part of issue #25
Browse files Browse the repository at this point in the history
  • Loading branch information
extrame committed Jul 26, 2017
1 parent 7ea8f41 commit 63a5676
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion col.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion workbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 63a5676

Please sign in to comment.