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

CLDR Ticket #6829(closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Hawaiian (haw_US) short dates should use Roman numerals for month

Reported by: pedberg Owned by: pedberg
Component: main Data Locale:
Phase: Review: emmons
Weeks: Data Xpath:
Xref:

Description

Spun out of http://bugs.icu-project.org/trac/ticket/3646 Hawaiian needs Roman numeral capability

Hawaiian short dates actually use Roman numerals. For example, March 9, 2004 should be 9/III/2004. This is a shortcoming in the current haw_US locale.

I think we can specify different numbering systems for parts of a short date...

Attachments

Change History

comment:1 Changed 5 years ago by pedberg

  • Cc deborah added; debbie removed

comment:2 Changed 5 years ago by srl

would it work to do:

<monthWidth type="short">
 <month type="1">I</month>
 <month type="2">II</month>
 <month type="3">III</month>
 <month type="4">IV</month>
 <month type="5">V</month>

.. ?

comment:3 Changed 5 years ago by emmons

You're right, Peter. Specifying the following should do the trick (although I would test in ICU first):

<dateFormatLength type="short">
    <dateFormat>
        <pattern numbers="M=roman">d/M/y</pattern>
    </dateFormat>
</dateFormatLength>


comment:4 Changed 5 years ago by emmons

  • Owner changed from anybody to pedberg
  • Priority changed from assess to major
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 25M1

comment:5 Changed 5 years ago by pedberg

See the description under the definition for lā₂ at http://www.trussel2.com/haw/haw-l.htm#la. Looks like it should be "M=romanlow" for month.

comment:6 Changed 5 years ago by pedberg

Hmm, NewLdml2IcuConverter does not currently handle this properly, and just skips writing the short date format to the icu resource DateTimePatterns array, leaving it with the wrong number of values.

comment:7 Changed 5 years ago by pedberg

  • Status changed from assigned to accepted
  • Review set to emmons

Just had to fix the regex in ldml2icu_locale.txt for dates with numbers= in

comment:8 Changed 5 years ago by srl

  • Status changed from accepted to reviewing

comment:9 Changed 4 years ago by emmons

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

comment:10 Changed 4 years ago by emmons

  • Milestone 25M1 deleted

Milestone 25M1 deleted

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.