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

CLDR Ticket #10999(closed: fixed)

Opened 8 months ago

Last modified 6 months ago

Duration field missing "h" error

Reported by: kristi Owned by: tbishop
Component: unknown Data Locale:
Phase: dsub Review: kristi
Weeks: Data Xpath:
Xref:

Description (last modified by kristi) (diff)

The current error message for the Duration field when a vetter enters "H:mm" suggests that they are missing the hour symbol and can be confusing for vetters who also have to use the h vs H in the time format.

Current: "the hour symbol (h or hh)is missing".
Suggestion: "The hour indicator should be either h or hh for duration"

See attached screenshot.

Attachments

Duration error.JPG (23.7 KB) - added by kristi 8 months ago.

Change History

Changed 8 months ago by kristi

comment:1 Changed 8 months ago by kristi

  • Description modified (diff)

comment:2 Changed 8 months ago by kristi

  • Description modified (diff)

comment:3 Changed 6 months ago by kristi

  • Owner changed from anybody to tbishop
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 34

May be a quick ticket to do before the survey tool opens up.

comment:4 Changed 6 months ago by tbishop

I've just made that change in my current branch for t10973.

comment:5 Changed 6 months ago by tbishop

  • Status changed from accepted to reviewing
  • Review set to kristi

comment:6 Changed 6 months ago by tbishop

I committed the change to trunk, as revision 14101.

Here's the diff:

         if (durationUnitType.contains("h") && !hasHourSymbol) {
+            /* Changed message from "The hour symbol (h or hh) is missing"
+             *  to "The hour indicator should be either h or hh for duration"
+             *  per http://unicode.org/cldr/trac/ticket/10999
+             */
             result.add(new CheckStatus().setCause(this)
                 .setMainType(CheckStatus.errorType)
                 .setSubtype(Subtype.invalidDurationUnitPattern)
-                .setMessage("The hour symbol (h or hh) is missing."));
+                .setMessage("The hour indicator should be either h or hh for duration."));

comment:7 Changed 6 months ago by kristi

  • Status changed from reviewing to closed
  • Resolution set to fixed
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.