Reading .xls file with golang

589 views
Skip to first unread message

Aadi Sharma

unread,
Feb 14, 2023, 10:22:30 PM2/14/23
to golang-nuts
While reading .xls file with golang using  ReadAllCells function  from xls package 

Issue - For strings it works fine , but for the cell having int value get's changed to date&time format. 
ex:- (1 get changed to 1900-01-01T00:00:00Z)

How we will deal with this ?

Amnon

unread,
Feb 15, 2023, 8:55:26 AM2/15/23
to golang-nuts
File an issue at https://github.com/extrame/xls/issues
and maybe submit a fix?

Marcello H

unread,
Feb 16, 2023, 2:16:45 AM2/16/23
to golang-nuts

Daniel Theophanes

unread,
Feb 24, 2023, 11:12:21 AM2/24/23
to golang-nuts
There isn't a good XLS reader. I had to fork that version here:

It still has issues, but it is better then the previous version.

Reply all
Reply to author
Forward
0 new messages