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

CLDR Ticket #7795(closed: fixed)

Opened 5 years ago

Last modified 5 months ago

Thai date formats with weekdays

Reported by: zhouyuxiang.zhou@… Owned by: pedberg
Component: other Data Locale: th
Phase: rc Review: emmons
Weeks: Data Xpath:


I think the Cldrbug:7785 do not describe clearly.
When you use a date format with weekday (like the date format have year, month, day and weekday not just weekday), you should be careful. You should write a char “ที่” after weekday name.
Pay attention, this only happen when you use the full weekday name, but you do not need the write the "ที่" after weekday name when you use the short weekday name.
For example: (note G era designated per ticket Cldrbug:7784)
the date format with full weekday name:
EEEEที่ d MMM G y
วันอาทิตย์ที่ 10 กุมภาพันธ์ ค.ศ. 1980

the date format with short weekday name:
E d MMM G y
อา. 10 กุมภาพันธ์ ค.ศ. 1980

we need two different date format to make a distinction between format with full weekday name and format with short weekday name, like:
<dateFormatItem id="yMMMEd">E d MMM G y</dateFormatItem>
<dateFormatItem id="yMMMEEEEd">EEEEที่ d MMM y</dateFormatItem>

I provide attachment of the changes in Thai.
I hope someone could change and check, the change works fine in icu4c on Android Devices.


th.rar (76.3 KB) - added by zhouyuxiang.zhou@… 5 years ago.
Thai date format
th7795.patch (3.1 KB) - added by srl 4 years ago.
patch format of th.rar

Change History

Changed 5 years ago by zhouyuxiang.zhou@…

Thai date format

comment:1 Changed 5 years ago by emmons

  • Owner changed from anybody to fredrik
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Component changed from unknown to data
  • Milestone changed from UNSCH to 26rc

comment:2 Changed 5 years ago by pedberg

  • Milestone changed from 26rc to 27dsub

comment:3 Changed 5 years ago by markus

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

Changed 4 years ago by srl

patch format of th.rar

comment:4 Changed 4 years ago by fredrik

  • Owner changed from fredrik to srl

Looking at the current state of 27, this seems already fixed?

comment:5 Changed 4 years ago by srl

  • Owner changed from srl to fredrik

comment:6 Changed 4 years ago by emmons

  • Owner changed from fredrik to pedberg
  • Phase changed from dsub to rc

comment:7 Changed 4 years ago by pedberg

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

I took the general ideas here and generalized them (without using G with yMMM in Gregorian), as follows:

  • This does *not* make the proposed changes to add G the the gregorian standard medium date or in the availableFormats items with yMMM, see discussion in http://unicode.org/cldr/trac/ticket/7784#comment:2
  • It *does* however, add or update availableFormats/intervalFormats items to Gregorian for yMMMM (and yQQQQ) to have G per that discussion.
  • It also changes buddhist and generic to add availableFormats/intervalFormat items for EEEE parallel to the gregorian changes.
  • Also, for intervalFormats with year+era, we really want the era only on the *first* year of the range, not on both or just the last one.
Last edited 4 years ago by pedberg (previous) (diff)

comment:8 Changed 4 years ago by pedberg

  • Cc fredrik added

comment:9 Changed 4 years ago by emmons

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

comment:10 Changed 5 months ago by mark

  • Component changed from main to other

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.