Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4266583

Regression: DateFormat for short time produces the time twice

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • core-libs
    • generic
    • generic



      Name: rlT66838 Date: 08/27/99


      Source code:

      import java.util.*;
      import java.text.*;

      class Test {
          
          public static void main(String args[])
          {
              DateFormat f = DateFormat.getTimeInstance(DateFormat.SHORT);
              System.out.println(f.format(new Date()));
          }
      }

      Produces:
          6:20 PM 6:20 PM

      Version:
          java full version "1.3beta-O"
      (Review ID: 94555)
      ======================================================================

            ktakahassunw Koushi Takahashi (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: