Ticket #2528435 (accepted task)

Reporter


bzbugs
Opened: 12/2/09
Last modified: 09/19/12
Status: accepted
Type: task

Owner


Allen Rabinovich
Target Release: 3.CURRENT.NEXT
Priority: P3 (normal)
Summary: [bz 3218382] Config.locale property is not a BCP 47 language priority list
Description:

The YUI config object contains a locale property, whose syntax and semantics are not specified, but from the code
accessing it from the datatype module appears to be an old-style single locale identifier using underscores.

The Yahoo mandatory standard is the use of BCP language priority lists, consisting of RFC 5646 language tags in
descending order of preference, and usually using the "lang" parameter name.
[ refer to bugzilla ticket for links to additional reference documentation on internal servers ]

The locale property should be replaced with a lang property that's defined as a BCP 47 language priority list.

Type: task Observed in Version: 3.0.0
Component: DataType-Date Severity: S3 (normal)
Assigned To: Allen Rabinovich Target Release: 3.CURRENT.NEXT
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Adam Moore

YUI Contributor

Posted: 12/10/09
  • component changed from YUI Global Object to DataType-Date
  • owner changed from Adam Moore to Philip Tellis
  • status changed from new to assigned

This applies to the components that are using locale. Assigning to datatype, copying satyen for widget.

Satyen Desai

YUI Developer

Posted: 02/22/10
  • location changed to Library Code
  • milestone changed to 3.NEXT
  • owner changed from Philip Tellis to Satyen Desai
  • status changed from accepted to assigned
  • type changed from defect to task

Taking this one.

The support for lang, and deprecation of dateFormat has already been added for 3.1, the only remaining task is to remove the deprecated config.dateFormat property in the appropriate release. Changing it to a task and marking 3.NEXT accordingly

Satyen Desai

YUI Developer

Posted: 02/21/11
  • milestone changed from 3.NEXT to 3.4.0
  • status changed from assigned to accepted

Satyen Desai

YUI Developer

Posted: 02/21/11

Planning to remove for 3.4.0. DataType landing page has the heads up already.

Satyen Desai

YUI Developer

Posted: 07/27/11
  • milestone changed from 3.4.0 to 3.5.0

Satyen Desai

YUI Developer

Posted: 07/27/11

These are backlog bugs which didn't make it into any of the 3.4.0 sprints. Marking as 3.5.0 backlog for evaluation going into 3.5.0 sprint 1

Satyen Desai

YUI Developer

Posted: 08/23/11

Allen Rabinovich

YUI Developer

Posted: 02/1/12
  • milestone changed from 3.5.0 to 3.6.0
  • status changed from assigned to accepted

Allen Rabinovich

YUI Developer

Posted: 07/18/12
  • sprint changed to backlog

Allen Rabinovich

YUI Developer

Posted: 07/27/12
  • milestone changed from 3.6.0 to 3.7.0
  • sprint changed from backlog

Jenny Donnelly

YUI Developer

Posted: 08/1/12
  • milestone changed from 3.7.0 to 3.6.x

Moving 3.7.0 bugs to 3.6.x for triage.

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.6.x to 3.CURRENT.NEXT

Moving from 3.6.x to 3.CURRENT.NEXT