I am also affected by this bug in continental Europe. I have two Kubuntu
installations, one is an edgy installation with sun-java5, the other one
is feisty with sun-java6.

I tried the sample application DateTest from
http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-time.html

Edgy with Java 5 shows the correct time (currently GMT offset +1 and
dstSavings +1) and the correct time zone "id=Europe/Amsterdam"

Feisty with Java 6 however is affected by this bug (or at least a bug
very similar to this one). The time is off by one hour because the DST
savings are not taken into account. Java by default uses a time zone
called "id=GMT+01:00" instead of "id=Europe/Amsterdam". "id=GMT+01:00"
obviously does not include any DST savings. I can manually override the
time zone by executing

java -Duser.timezone=Europe/Amsterdam DateTest

instead of simply java DateTest

So somehow Java 6 under feisty is getting the wrong time zone from the
system. I checked /etc/timestamp, which correctly reads
"Europe/Amsterdam", and date also reports the correct time. I switched
to time zone America/Chicago using KDE's application for setting the
time and time zone, but the time zone in Java changed to "id=GMT-06:00",
not to "id=America/Chicago" as it should.

** Also affects: sun-java6 (Ubuntu)
   Importance: Undecided
       Status: Unconfirmed

-- 
Java reports time zone incorrectly during CDT (US Daylight saving time)
https://bugs.launchpad.net/bugs/49068
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to