Repository navigation
1.44.0
·
23 commits
to v1.x-maintenance
since this release
Added proper numerical formatting for numbers, dates and times
This release addresses a long standing issue with regards to the MiniExcelFormatAttribute.
Prior to this update all values of the properties it was used upon would be converted to their string representation according to the specified format, instead of being exported as is and linked to a style element like the OpenXml specification suggests.
This prevented the results to be used as actual numerical values, e.g. in formulas, while still retaining their representation.
With this update the inconvenience has mostly been solved, as the following types will now be exported preserving their intended value:
- Unmanaged numerical types (
int,long,double,decimal, etc...) DateTime,DateTimeOffsetandDateOnlyTimeSpanandTimeOnly
All changes
- Fixes issues 951 (backported from the main branch) and 954 by @michelebastione in #956
- Backported PR 955 enhancing formatting capabilities by @michelebastione in #957
Full Changelog: 1.43.1...1.44.0