Summary: | [PATCH] Patch to CellDateFormatter for formats with hours and minutes but not seconds | ||
---|---|---|---|
Product: | POI | Reporter: | Steve Vysny <steve.vysny> |
Component: | POI Overall | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.8-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Patch svn diff
DateFormatTests.xlsx with new test |
Created attachment 28124 [details]
DateFormatTests.xlsx with new test
|
Created attachment 28123 [details] Patch svn diff Attached patch resolves issue in CellDataFormatter that causes date-time values to be formatted incorrectly for a format with hours and minutes but not seconds (e.g. "h:m"). New test case added to DateFormatTests.xlsx (sheet 'Tests', row 42). Additional change to DateFormatTests.xlsx: on sheet 'Flags', deleted value of Categories flag and changed value of AllColors flag to True, so that all tests in the workbook are run.