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

CLDR Ticket #6889(accepted data)

Opened 4 years ago

Last modified 2 years ago

Direction of Hebrew date interval formats in case of adjacent number ranges (years, days)

Reported by: tatiana.racheva@… Owned by: pedberg
Component: main Data Locale: he
Phase: dsub Review:
Weeks: Data Xpath: //ldml/dates/calendars/calendar[@type="gregorian"]/dateTimeFormats/intervalFormats/intervalFormatItem[@id="yMMMd"]
Xref:

ticket:7008

Description

In Hebrew, when numbers in the range are adjacent to each other (i.e., not separated by other textual elements), the order is left-to-right.

Example 1: if you take the format "d–d MMM", you would expect the visual order to be "Month Day1–Day2"

Example 2: if the format is "d MMM–d MMM", then you would expect the visual order to be "Month2 Day2 – Month1 Day1"

If the wrong dash symbol is used (Hyphen, U+002D), then the order is automatically handled correctly. If the typographically-appropriate en-dash symbol is used (which is is, in the data), then the order is incorrect for the 1st example. See http://www.hebrewbooks.org/journals for examples of date ranges. Here's another example of other types of numeric ranges: http://www.dialog.co.il/ (there's a table showing salary ranges by experience).

This situation can be remedied by surrounding the en-dash with U+202A (LTR) and U+202C (pop), or, less optimally, using the hyphen instead of the correct en-dash.

There is no such distinction in other RTL languages (Arabic, Farsi), as far as I was told. In both cases, the ranges would go right-to-left. For example, check out the copyright date range at the bottom of http://www.aljazeera.net/portal. They're using the hyphen instead of the dash.

You can see the difference in an application such as Notepad. When in RTL mode, if the date range that's using a hyphen, such as 2000-2013, is surrounded with Arabic characters and spaces, the direction is RTL, but in the Hebrew context the direction is LRT.

I couldn't find any discussion regarding the direction of ranges, or date ranges specifically. It's possible that there's no issue usually because people use hyphens almost always instead of the en-dashes, which are not easily available on computer keyboards, and dashes cause the ranges to behave "correctly."

Attachments

Change History

comment:1 Changed 4 years ago by emmons

  • Owner changed from anybody to pedberg
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 25rc

comment:2 Changed 4 years ago by pedberg

  • Milestone changed from 25rc to 26dsub

This requires more discussion. Pushing to 26dsub

comment:3 Changed 3 years ago by pedberg

  • Milestone changed from 26dsub to 26dvet

comment:4 Changed 3 years ago by pedberg

  • Xref set to 7008

See also cldrbug 7008:

comment:5 Changed 3 years ago by pedberg

  • Milestone changed from 26dvet to 27dsub

comment:6 Changed 3 years ago by markus

  • Phase set to dsub
  • Milestone changed from 27dsub to 27

comment:7 Changed 3 years ago by pedberg

  • Milestone changed from 27 to 28

comment:8 Changed 3 years ago by markus

  • Type changed from defect to data

comment:9 Changed 2 years ago by srl

  • Status changed from assigned to accepted

comment:10 Changed 2 years ago by markus

  • version 24 deleted

comment:11 Changed 2 years ago by pedberg

  • Milestone changed from 28 to 29

comment:12 Changed 2 years ago by emmons

  • Milestone changed from 29 to upcoming

Auto move of all 29 -> upcoming

View

Add a comment

Modify Ticket

Action
as accepted
Author


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

 
Note: See TracTickets for help on using tickets.