United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-5064125 (fmt) date/time composite suffix 'r' references non-existent suffix 'P'
JDK-5064125 : (fmt) date/time composite suffix 'r' references non-existent suffix 'P'

Details
Type:
Bug
Submit Date:
2004-06-16
Status:
Resolved
Updated Date:
2004-06-25
Project Name:
JDK
Resolved Date:
2004-06-25
Component:
core-libs
OS:
generic
Sub-Component:
java.util
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (b58)

Related Reports
Relates:

Sub Tasks

Description
During review for bug 5061412, it was noted that the composite date/time
suffix 'r' references the now deleted suffix 'P'.

The review comment describes the problem very clearly:

"%tP" should be "%Tp" in the following 'r' descriptions.

478  * <tr><td valign="top"><tt>'r'</tt>
479  *     <td> Time formatted for the 12-hour clock as <tt>"%tI:%tM:%tS %tP"</tt>.
480  *     The location of the morning or afternoon marker (<tt>'%tP'</tt>) may be
481  *     locale-dependent.

1651  * <tr><td valign="top"><tt>'r'</tt>
1652  *     <td valign="top"> <tt>'&#92;u0072'</tt>
1653  *     <td> Time formatted for the 12-hour clock as <tt>"%tI:%tM:%tS
1654  *     %tP"</tt>.  The location of the morning or afternoon marker
1655  *     (<tt>'%tP'</tt>) may be locale-dependent

-- iag@sfbay 2004-06-16

                                    

Comments
SUGGESTED FIX

***************
*** 481,488 ****
   *     <td> Time formatted for the 24-hour clock as <tt>"%tH:%tM:%tS"</tt>.
   *
   * <tr><td valign="top"><tt>'r'</tt>
!  *     <td> Time formatted for the 12-hour clock as <tt>"%tI:%tM:%tS %tP"</tt>.
!  *     The location of the morning or afternoon marker (<tt>'%tP'</tt>) may be
   *     locale-dependent.
   *
   * <tr><td valign="top"><tt>'D'</tt>
--- 476,483 ----
   *     <td> Time formatted for the 24-hour clock as <tt>"%tH:%tM:%tS"</tt>.
   *
   * <tr><td valign="top"><tt>'r'</tt>
!  *     <td> Time formatted for the 12-hour clock as <tt>"%tI:%tM:%tS %Tp"</tt>.
!  *     The location of the morning or afternoon marker (<tt>'%Tp'</tt>) may be
   *     locale-dependent.
   *
   * <tr><td valign="top"><tt>'D'</tt>
***************
*** 1665,1672 ****
   * <tr><td valign="top"><tt>'r'</tt>
   *     <td valign="top"> <tt>'&#92;u0072'</tt>
   *     <td> Time formatted for the 12-hour clock as <tt>"%tI:%tM:%tS
!  *     %tP"</tt>.  The location of the morning or afternoon marker
!  *     (<tt>'%tP'</tt>) may be locale-dependent.
   *
   * <tr><td valign="top"><tt>'D'</tt>
   *     <td valign="top"> <tt>'&#92;u0044'</tt>
--- 1651,1658 ----
   * <tr><td valign="top"><tt>'r'</tt>
   *     <td valign="top"> <tt>'&#92;u0072'</tt>
   *     <td> Time formatted for the 12-hour clock as <tt>"%tI:%tM:%tS
!  *     %Tp"</tt>.  The location of the morning or afternoon marker
!  *     (<tt>'%Tp'</tt>) may be locale-dependent.
   *
   * <tr><td valign="top"><tt>'D'</tt>
   *     <td valign="top"> <tt>'&#92;u0044'</tt>

-- iag@sfbay 2004-06-16
                                     
2004-06-16
EVALUATION

This minor change should be made as soon as possible.

-- iag@sfbay 2004-06-16
                                     
2004-06-16
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger-rc

FIXED IN:
tiger-rc

INTEGRATED IN:
tiger-b58
tiger-rc


                                     
2004-07-17



Hardware and Software, Engineered to Work Together