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 2017/04/10 09:05:11 UTC

[Bug 60040] CellNumberFormatter wrong formating for Locale pt_BR

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

samson <sa...@tagetik.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #7 from samson <sa...@tagetik.com> ---
- I would suggest a solution similar to Fernando's Solution (i.e. replacing the
string literals with a correct locale based separators).
 Here I have attached a possible solution and added a unit test to
TestDataFormatter.java (see the attached CustomFormatting.patch file). 
 It seems like the CellNumberPartHandler class is used to parse the format
(i.e. "#,##0 ;(#,##0) ;"-""), and such formats are not locale specific.

-- 
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