-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect parse time caused by round precision #764
Comments
Hi @vlyonline, thanks for your issue. I have fixed the incorrect parse time caused by round precision, please upgrade to the master branch code, and this fix will be released in the next version. This library doesn't support localization built-in number format and custom number format currently, so the time format will be in 12-hours as default under the English region. I'll consider adding localization support and create a lexer and parser for the custom number format expression to resolve this problem, also reference the issue #73 and #655. |
Hi Xuri,这问题好像没有完全没有解决 Go:1.16 |
Hi @ZengYueWei, please give a try the master branch code, this issue has been re-fixed by commit |
…is improve number format support - Introduced NFP (number format parser) dependencies module - Initialize custom dates and times number format support - Dependencies module upgraded
…is improve number format support - Introduced NFP (number format parser) dependencies module - Initialize custom dates and times number format support - Dependencies module upgraded
excel文件里面的日期是 2020/1/4 23:00:00
日志(截取部分):
2021/01/19 10:58:07.854566 excel.go:50: [INFO] vv:2020/1/4 10:59:59
解析出来的时间不对
Output of
go version
:go version go1.14.3 linux/amd64库版本:github.com/360EntSecGroup-Skylar/excelize/v2 v2.3.2
**Environment details (OS, Microsoft Excel™ version, physical, etc.):开发环境 ubuntu 20 ,生产是centos 7 **
The text was updated successfully, but these errors were encountered: