poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60422] DataFormatter.formatCellValue returns incorrect value for German 'Buchhaltung' format
Date Thu, 22 Jun 2017 23:19:50 GMT

--- Comment #8 from Andreas Beeker <kiwiwings@apache.org> ---
First of all, I know that DataFormatter is not trivial and we also had some
discussions about it [1]

When using an unspecific default locale, we usually use Locale.ROOT - but I'm
not sure, if using .ROOT or .US as the default for LocaleUtil.getUserLocale()
(instead of Locale.getDefault()) would be less pain, especially since there a
quite a few LocaleUtil invocations.

So how to proceed from here? ...
- check if Locale.US is working for other localized excel formats
- or what's wrong with the "Buchhaltung" format "_-* #.##0,00 "€"_-;-* #.##0,00
"€"_-;_-* "-"?? "€"_-;_-@_-" ... it looks like custom formats need to be
processed with the Locale of the file - where is it defined? (HPSF has
sometimes a Locale entry)


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

View raw message