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

Cell formatted as "Custom" ("h:mm") with value "13:00" is shown deserialized in the C# code as "12:59:59.9999" #570

Closed
1 of 4 tasks
ZackStone opened this issue Mar 10, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ZackStone
Copy link

ZackStone commented Mar 10, 2024

Excel Type

  • XLSX
  • XLSM
  • CSV
  • OTHER

Upload Excel File

issue.xlsx

MiniExcel Version

1.31.3

Description

Cell formatted as "Custom" ("h:mm") with value "13:00" is shown deserialized in the C# code as "12:59:59.9999".

image

image

Repro

https://github.com/ZackStone/MiniExcelIssue

@shps951023 shps951023 added the bug Something isn't working label Mar 13, 2024
@jiaguangli
Copy link
Member

hi,
thank for your issure,
Custome types will be converted to numberic values by excel
Please use "Time" Type
image

console
image

@jiaguangli jiaguangli self-assigned this Jun 11, 2024
@jiaguangli
Copy link
Member

Did it solve your problem?

@ZackStone
Copy link
Author

Sorry for the delay.
Yes, it solved it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants