[
https://issues.apache.org/jira/browse/LANG-1172?focusedWorklogId=603866&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-603866
]
ASF GitHub Bot logged work on LANG-1172:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/May/21 23:27
Start Date: 29/May/21 23:27
Worklog Time Spent: 10m
Work Description: c-w opened a new pull request #766:
URL: https://github.com/apache/commons-lang/pull/766
This pull request is a partial fix for
[LANG-1172](https://issues.apache.org/jira/browse/LANG-1172) adding support for
dashes as delimiters for locales as per
[BCP47](https://tools.ietf.org/html/bcp47#section-4) thus enabling parsing of
locales such as `en-GB` in addition to the previously supported (but not to
spec) `en_GB`.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 603866)
Remaining Estimate: 0h
Time Spent: 10m
> LocaleUtils.toLocale does not handle extensions
> -----------------------------------------------
>
> Key: LANG-1172
> URL: https://issues.apache.org/jira/browse/LANG-1172
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: David Buhler
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The {{toLocale()}} method is unable to handle locale strings that have custom
> extensions that are completely valid according to the [BCP47
> spec|https://tools.ietf.org/html/bcp47#section-4]. Oracle documentation for
> sub tag extensions can be [found
> here|https://docs.oracle.com/javase/tutorial/i18n/locale/extensions.html].
> An example locale string with a custom extension might be {{fr-CA-x-nb}}.
> This issue seems to have been introduced with ticket LANG-915.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)