Better support for Date custom format (#316)

- To determine if a style should apply a date format, the presence of "applyNumberFormat" attribute on the "cellXfs" section of styles.xml is now optional. We only look at the "numFmtId" attribute (but early return if "applyNumberFormat" is set to "0").
- The format code can contain lowercase AND now uppercase characters as its pattern.
- "General" format code used as a custom format is now supported. It seems to be used by a bunch of programs...
This commit is contained in:
Adrien Loison authored and GitHub committed 2016-09-24 10:46:42 -07:00
1 parent 30aa1b87e2
commit cc07072cbb
6 files changed
+174 -80

No files matched your search