jdaugherty commented on code in PR #15726:
URL: https://github.com/apache/grails-core/pull/15726#discussion_r3429025024
##########
grails-databinding/src/main/groovy/org/grails/databinding/converters/web/LocaleAwareNumberConverter.groovy:
##########
@@ -56,14 +57,26 @@ class LocaleAwareNumberConverter implements ValueConverter {
@Override
Object convert(Object value) {
def trimmedValue = value.toString().trim()
+ def formatter = numberFormatter
+ def valueToParse = replaceAsciiMinusWithLocaleMinus(formatter,
trimmedValue)
Review Comment:
So the JVM has built in locale handling and yet we still have to work around
it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]