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

wrong hours minutes and seconds separator in Lithuanian locale

XMLWordPrintable

      FULL PRODUCT VERSION :
      1.7.0-ea-b137

      ADDITIONAL OS VERSION INFORMATION :
      doesn't depend on OS

      A DESCRIPTION OF THE PROBLEM :
      The time separator in Lithuania is colon ":" not a dot "."
      It was mentioned in Bug ID: 6650730 comments

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      import java.util.Locale;
      import java.util.Date;
      import java.text.DateFormat;

      public class Main {
      public static void main(String a[]) {
                                  Locale l = new Locale("lt");
                                  Locale.setDefault(l);
      System.out.println(DateFormat.getTimeInstance().format(new Date()));
      }

      }

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      time separated with colons

      ACTUAL -
      time separated with dots


      REPRODUCIBILITY :
      This bug can be reproduced always.

      SUPPORT :
      YES

            yhuang Yong Huang (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: