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

Turkey Time Zone returns incorrect time zone name

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Unit Test for Turkey TimeZone shows that Europe/Istanbul maps to “Eastern European Time” and it should be "Further-Eastern European Time" or "Turkey Time"

        test program:

        import java.util.TimeZone;

        public class TurkeyTime {
            public static void main(String[] args) {
                TimeZone tz = TimeZone.getTimeZone("Europe/Istanbul");
                System.out.println(tz.getDisplayName());

                TimeZone tz2 = TimeZone.getTimeZone("Asia/Istanbul");
                System.out.println(tz2.getDisplayName());
            }
        }

        output:
        java -showversion TurkeyTime
        openjdk version "14-internal" 2020-03-17
        OpenJDK Runtime Environment (build 14-internal+0-adhoc.xxinliu.jdk)
        OpenJDK 64-Bit Server VM (build 14-internal+0-adhoc.xxinliu.jdk, mixed mode)
        Eastern European Time
        Eastern European Time

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  phh Paul Hohensee
                  Reporter:
                  xliu Xin Liu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: