diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-05-05 14:40:28 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-05-05 14:40:28 +0800 |
commit | 8fbab474443393b8b996487cf7ade300a72d2e07 (patch) | |
tree | bd863a7e6066ce62ecc01db110e508145057d3c9 /rows.go | |
parent | 7f30a6c9430476bcd5fc1662523ada0e95f60947 (diff) |
- Formatted cell data support, fix issue #48;
- Function `SetCellValue()` support `time.Time` data type parameter, relate issue #49;
- go doc and go test updated
Diffstat (limited to 'rows.go')
-rw-r--r-- | rows.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -141,10 +141,10 @@ func (xlsx *xlsxC) getValueFrom(f *File, d *xlsxSST) (string, error) { } return value, nil } - return d.SI[xlsxSI].T, nil + return f.formattedValue(xlsx.S, d.SI[xlsxSI].T), nil case "str": - return xlsx.V, nil + return f.formattedValue(xlsx.S, xlsx.V), nil default: - return xlsx.V, nil + return f.formattedValue(xlsx.S, xlsx.V), nil } } |