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

Add 55 date style to recognized styles list #124

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

Conversation

Cellane
Copy link

@Cellane Cellane commented Oct 24, 2023

I encountered today a workbook file that was impossible to read with xlsxir due to containing the number format 55.

After consulting https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.numberingformat?view=openxml-2.8.1, it seems that the format represents a date, and is related to Japanese dates only, which perfectly matches the expectations I had from this workbook file (Japanese client; not reproducible after opening and re-saving the workbook with Microsoft Excel on my local computer).

Ref: https://hexdocs.pm/xlsxir/number_styles.html#content
Ref: https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.numberingformat?view=openxml-2.8.1

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