DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14375>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14375

[PATCH] Fix for reading files that use 1904 date windowing

           Summary: [PATCH] Fix for reading files that use 1904 date
                    windowing
           Product: POI
           Version: 2.0-dev
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Files created in Excel for Macintosh, by default, save workbooks with all date cell 
values 
using 1904 date windowing.  HSSFDateUtil assumes 1900 windowing, thus converts 
these dates incorrectly.  Patch includes changes to Workbook.java, HSSFCell.java, and 
HSSFDateUtil.java to correctly identify whether 1900 or 1904 windowing is being used 
and do the correct conversion.  Also adds some additional internal date formats to 
HSSFDateUtil.isInternalDateFormat(int).

--
To unsubscribe, e-mail:   <mailto:poi-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-dev-help@;jakarta.apache.org>

Reply via email to