Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale support for type conversions #1

Open
andrewruckerjones opened this issue May 14, 2019 · 3 comments
Open

Locale support for type conversions #1

andrewruckerjones opened this issue May 14, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@andrewruckerjones
Copy link

Current behavior

As far as I can determine, all type conversions performed by Jodd BeanUtil or rather its associated converters are all with respect to the default locale.

Expected behavior

I would love to replace Apache BeanUtils with Jodd, but we support arbitrary locales for conversion of all data types. If Jodd could add this feature, we might be able to migrate.

@igr
Copy link
Member

igr commented May 14, 2019

Absolutely make sense. Will prioritize.

@igr
Copy link
Member

igr commented Jun 1, 2019

Hey, sorry for the long response, had a medical condition... Do you need locale support for e.g. numbers (1.000.00) and dates?

@andrewruckerjones
Copy link
Author

We do dates through the parsing and formatting classes Java provides (SimpleDateFormat, DateTimeFormatter), so no, we don't need that. It's about numbers, but that does include BigInteger and BigDecimal.

And thank you for even considering our request!

@igr igr self-assigned this Sep 15, 2020
@igr igr transferred this issue from oblac/jodd Sep 15, 2020
@igr igr added the enhancement New feature or request label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants