You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2021/07/28 18:37:13 UTC

[Bug 65471] New: TEXT function does not support ISO 8601 format

https://bz.apache.org/bugzilla/show_bug.cgi?id=65471

            Bug ID: 65471
           Summary: TEXT function does not support ISO 8601 format
           Product: POI
           Version: 5.0.0-FINAL
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: dev@poi.apache.org
          Reporter: fanningpj@yahoo.com
  Target Milestone: ---

=TEXT(321.321, "yyyy-mm-ddThh:MM:ss") works in Excel but leads to an eval error
in POI.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65471] TEXT function does not support ISO 8601 format

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65471

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
DataFormatter is used by TextFunction - it tries to use ExcelStyleDateFormatter
to create a formatter for the ISO 8601 date time formatter but
ExcelStyleDateFormatter rejects it due to the 'T' character. DataFormatter then
falls back to using a General formatter but this is not able to format Dates.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65471] TEXT function does not support ISO 8601 format

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65471

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
trying a fix using r1891862

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65471] TEXT function does not support ISO 8601 format

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65471

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org