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 2010/01/26 10:56:22 UTC
DO NOT REPLY [Bug 48617] New: Use explicit locale when formatting
Excel cells
https://issues.apache.org/bugzilla/show_bug.cgi?id=48617
Summary: Use explicit locale when formatting Excel cells
Product: POI
Version: 3.7-dev
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: jukka@apache.org
Created an attachment (id=24887)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24887)
proposed patch
As already noted in bug 47372, the current Excel cell formatting code in POI
always uses the current default locale. This can be troublesome as the exact
output may be hard to predict without explicitly setting the default locale
(which is not possible in many environments).
It would be great if it was possible to specify the locale that you want to
be used when formatting numbers and dates. See the attached patch for a
proposed
way to do this.
For more background, see https://issues.apache.org/jira/browse/TIKA-371.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 48617] Use explicit locale when formatting Excel
cells
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48617
Nick Burch <ni...@alfresco.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-01-26 08:22:40 UTC ---
Thanks. Patch applied to svn, along with a unit test that seems to show it
behaves as expected.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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