tealeg / xlsx

Go library for reading and writing XLSX files.
Other
5.81k stars 808 forks source link

Why cell.String() method returned datetime string contains double backslash? #791

Closed dablelv closed 3 weeks ago

dablelv commented 7 months ago

In the excel file, the cell content is a datetime string in format "yyyy-mm-dd hh:mm:ss".

But use cell.String() method to get the content of cell, the returned value is yyyy\\-mm\\-dd\\ hh:mm:ss, such as 2023\\-11\\-27\\ 04:29:44.

The log printing content is: 企业微信截图_17010781771

The excel file content is:

企业微信截图_17010777389729

Why does this happen?

whitesn.xlsx

github-actions[bot] commented 5 months ago

Stale issue message

github-actions[bot] commented 3 months ago

Stale issue message

github-actions[bot] commented 1 month ago

Stale issue message