tealeg / xlsx

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

Time accuracy #734

Closed zhangshunli closed 1 year ago

zhangshunli commented 2 years ago

read "2018-04-27 19:00:00" as "2018-04-27 18:59:59"

Repair method Add an offset value when subtracting float numbers in the TimeFromExcelTime function roundEpsilon = 1e-9 var floatPart = excelTime - float64(wholeDaysPart) + roundEpsilon

github-actions[bot] commented 1 year ago

Stale issue message