Skip to content
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

修复了EasyExcel读取Excel的时间列的数据有误的问题 #2437

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zyd0131
Copy link

@zyd0131 zyd0131 commented Apr 22, 2022

我们选择采用NoModelDataListener进行日期时间读取,这种方式可以解决读取日期错误的问题。
我们的做法相比于#2322中上一名回答者仅仅转化为一种时间格式的做法,增加了对于读取日期格式的多种判断与处理,这可以使多种条件下的日期时间格式更加规范,同时除了使用NoModelDataListener进行时间读取外,我们也在Test文件中给出了更多的时间正确读取方法。

@CLAassistant
Copy link

CLAassistant commented Apr 22, 2022

CLA assistant check
All committers have signed the CLA.

@zyd0131
Copy link
Author

zyd0131 commented Apr 22, 2022

这个可以帮助解决 #2322 提出的EasyExcel读取Excel的时间列的数据有误的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants