Skip to content

Conversation

@demontiejr
Copy link

Currently, the number.Format method doesn't take into consideration the formatting code. This diff implements formatting for dates based on the code.
The implementation doesn't look at the cell data type because in cases of date it's not being populated by Excel, so it's always empty.

Currently, the number.Format method doesn't take into consideration the formatting code. This diff implements formatting for dates based on the code.
The implementation doesn't look at the cell data type because in cases of date it's not being populated by Excel, so it's always empty.
@codecov
Copy link

codecov bot commented Nov 4, 2020

Codecov Report

Attention: Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 63.10%. Comparing base (89ef343) to head (8278b7d).

Files Patch % Lines
internal/number_format/types.go 75.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage   63.49%   63.10%   -0.39%     
==========================================
  Files         100      100              
  Lines        4005     3288     -717     
==========================================
- Hits         2543     2075     -468     
+ Misses       1417     1169     -248     
+ Partials       45       44       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@plandem
Copy link
Owner

plandem commented Jan 12, 2022

I can't approve these changes, since it changes defaults from the official docs for XLSX. I probably will use this PR as a reference when I will have time to work on it.

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