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

DateOnly导入错误 #588

Open
yangliadmin opened this issue Dec 6, 2024 · 0 comments
Open

DateOnly导入错误 #588

yangliadmin opened this issue Dec 6, 2024 · 0 comments

Comments

@yangliadmin
Copy link

Expected behaviour

Actual behaviour

DTO是DateOnly类型,导入是一个标准的日期,报错 Object of type 'System.Double' cannot be converted to type 'System.Nullable`1[System.DateOnly]' ,我把DTO改为字符串后发现一串数字,后面改为 DateTime就没问题了

  • Magicodes.IE.Excel

package versions

Example: Magicodes.IE.Excel 2.7.5.2

image

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

No branches or pull requests

1 participant