You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/06 00:22:00 UTC
[jira] [Work logged] (LANG-1172) LocaleUtils.toLocale does not handle extensions
[ https://issues.apache.org/jira/browse/LANG-1172?focusedWorklogId=737198&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-737198 ]
ASF GitHub Bot logged work on LANG-1172:
----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Mar/22 00:21
Start Date: 06/Mar/22 00:21
Worklog Time Spent: 10m
Work Description: garydgregory merged pull request #766:
URL: https://github.com/apache/commons-lang/pull/766
--
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: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 737198)
Time Spent: 3h 10m (was: 3h)
> 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: 3h 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.20.1#820001)