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

CLDR Ticket #4929(closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

dayPeriodRule for Persian

Reported by: roozbeh@… Owned by: roozbeh
Component: main Data Locale: fa
Phase: Review: fredrik
Weeks: Data Xpath: supplementalData/dayPeriodRuleSet/dayPeriodRules[]
Xref:

Description

Persian needs dayPeriodRules. Here's my best attempt:

for dayPeriods.xml:

<dayPeriodRules locales="fa">

<dayPeriodRule type="weeHours" from="00:00" before="01:00" />
<dayPeriodRule type="earlyMorning" from="01:00" before="06:00" />
<dayPeriodRule type="morning" from="06:00" before="12:00" />
<dayPeriodRule type="noon" at="12:00" />
<dayPeriodRule type="midDay" after="12:00" before="16:00" />
<dayPeriodRule type="afternoon" from="16:00" before="19:00" />
<dayPeriodRule type="night" from="19:00" before="24:00" />

</dayPeriodRules>

for fa.xml:

<dayPeriods>

<dayPeriodContext type="format">

<dayPeriodWidth type="wide">

<dayPeriod type="weeHours">نیمه‌شب</dayPeriod>
<dayPeriod type="earlyMorning">بامداد</dayPeriod>
<dayPeriod type="morning">صبح</dayPeriod>
<dayPeriod type="noon">ظهر</dayPeriod>
<dayPeriod type="midDay">بعدازظهر</dayPeriod>
<dayPeriod type="afternoon">عصر</dayPeriod>
<dayPeriod type="night">شب</dayPeriod>

</dayPeriodWidth>

</dayPeriodContext>

</dayPeriods>

It'd be best if there were location-specific for the values, say, "sunrise" instead of "06:00" (that could then default to 06:00 if there was no location). Since we don't have that yet, I'm going for a good sample times for those in Tehran, where there's the highest concentration of Persian speakers.

Source of sunrise/sunset data (for 1391 AP): http://calendar.ut.ac.ir/Fa/Prayers/Data/91/Tehran91.pdf

Attachments

Change History

comment:1 Changed 5 years ago by yoshito

  • Owner changed from anybody to roozbeh
  • Priority changed from assess to minor
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 22

comment:2 Changed 5 years ago by roozbeh

  • Review set to mark

comment:3 Changed 5 years ago by mark

  • Review changed from mark to fredrik

balancing; let me know if you need some transfered

comment:4 Changed 5 years ago by fredrik

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

Review looked right to me. Closing.

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.