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

CLDR Ticket #3862(closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Date field 'Y'

Reported by: yoshito Owned by: emmons
Component: xxx-spec Data Locale:
Phase: Review: yoshito
Weeks: Data Xpath:
Xref:

Description

http://www.unicode.org/reports/tr35/#Date_Format_Patterns explains date format patterns. For year 'y', it says "two letters also specifies the maximum length". However, it is not clear that the rule also applies to 'Y' (year in "week of year" based calendar).

Also, LDML specification may address "parse" consideration for two-letter year patterns.

Attachments

Change History

comment:1 Changed 4 years ago by yoshito

It looks max-length rule does not apply to 'Y'. So, with pattern 'YY', year 12 will be formatted as "12" and year 2012 will be formatted as "2012".

ISO8601 does not define two-letter year ("YY" represents century... for example, year 2012 with pattern "YY" becomes "20").

It looks two-digit year for week of year is commonly used. With the current specification, there is no way to support this. We should consider either

  • YY to also indicate the maximum length of 2

or

  • new mechanism to specify the maximum length

comment:2 Changed 4 years ago by mark

  • Milestone changed from UNSCH to postpone

comment:3 Changed 4 years ago by mark

  • Owner changed from somebody to yoshito
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Component changed from unknown to spec
  • Milestone changed from postpone to 21

comment:4 Changed 3 years ago by yoshito

  • Owner changed from yoshito to emmons

comment:5 Changed 3 years ago by emmons

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

comment:6 Changed 3 years ago by yoshito

  • Status changed from accepted to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The ticket will be disowned. The resolution will be deleted. 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.