JDK-5064125 : (fmt) date/time composite suffix 'r' references non-existent suffix 'P'
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-06-16
  • Updated: 2017-05-16
  • Resolved: 2004-06-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b58Fixed
Related Reports
Relates :  
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
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-rc FIXED IN: tiger-rc INTEGRATED IN: tiger-b58 tiger-rc
17-07-2004

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
16-06-2004

EVALUATION This minor change should be made as soon as possible. -- iag@sfbay 2004-06-16
16-06-2004