[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #7829(closed: fixed)

Opened 4 years ago

Last modified 4 years ago

Fix English ordinal rules to allow roundtripping

Reported by: grhoten Owned by: grhoten
Component: data-other Data Locale:
Phase: rc Review: mark
Weeks: Data Xpath:


The new changes from icubug:10880 provides the ability roundtrip the RBNF ordinal rules for English. I'd like to use this new rule syntax to fix this issue.

Here are the current English rules that do not roundtrip correctly:

0: th;
1: st;
2: nd;
3: rd;
4: th;
20: >>;
100: >>;
-x: −>>;
0: =#,##0==%%digits-ordinal-indicator=;

Proposed English rules:

-x: −>>;
0: =#,##0=$(ordinal,one{st}two{nd}few{rd}other{th});

Currently "1st" is parsed as the value 121, which is wrong. It should be 1.


Change History

comment:1 Changed 4 years ago by grhoten

  • Owner emmons deleted

comment:2 Changed 4 years ago by mark

  • Owner set to grhoten
  • Priority changed from assess to major
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 26rc

Depends on approval for ICU.

comment:3 Changed 4 years ago by grhoten

The approved syntax has )$ at the end of the plural rule.

comment:4 Changed 4 years ago by grhoten

  • Status changed from assigned to reviewing
  • Review set to mark

This is related to Mark's icubug:11069 submission

comment:5 Changed 4 years ago by mark

  • Status changed from reviewing to closed
  • Resolution set to fixed

comment:6 Changed 4 years ago by markus

  • Phase set to rc
  • Milestone changed from 26rc to 26

Add a comment

Modify Ticket

as closed
Next status will be 'new'
Next status will be 'closed'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.