summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
Diffstat (limited to 'excelize.go')
-rw-r--r--excelize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/excelize.go b/excelize.go
index 135028c..94f401c 100644
--- a/excelize.go
+++ b/excelize.go
@@ -138,7 +138,7 @@ func (f *File) setDefaultTimeStyle(sheet, axis string, format int) error {
}
if s == 0 {
style, _ := f.NewStyle(`{"number_format": ` + strconv.Itoa(format) + `}`)
- f.SetCellStyle(sheet, axis, axis, style)
+ _ = f.SetCellStyle(sheet, axis, axis, style)
}
return err
}