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

CLDR Ticket #2845(closed defect: fixed)

Opened 5 years ago

Last modified 19 months ago

Change LDML spec for 'S' date pattern character: should truncate, not round

Reported by: pedberg Owned by: pedberg
Component: xxx-docs Data Locale:
Phase: Review: yoshito
Weeks: Data Xpath:


(Related to ICU ticket #7728) Currently the LDML spec says about the 'S' date pattern character: "Fractional Second - rounds to the count of letters." (and it gives an example in which SSSS rounds .34567 to . 3457). This is inconsistent with the way other time fields such as seconds and minutes are handled; they are truncated, not rounded, e.g. a time of 9:18:59 is displayed as 9:18 with H:mm. It also leads to problems for values such as 1.99 with a pattern of "s.S" - rounding should produce "2.0" but the fields are not supposed to affect each other in this way.

Instead, S+ should truncate, so that SSSS with .34567 displays .3456, and the documentation for S should be changed to indicate this.


Change History

comment:1 Changed 5 years ago by mark

  • Owner changed from somebody to pedberg
  • Status changed from new to assigned

comment:2 Changed 5 years ago by pedberg

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

comment:3 Changed 5 years ago by yoshito

  • Status changed from accepted to closed
  • Resolution set to fixed
  • Review changed from mark to yoshito

comment:4 Changed 19 months ago by emmons

  • Milestone 1.9m2 deleted

Milestone 1.9m2 deleted


Add a comment

Modify Ticket

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