Re: Diagnose why Pacific TZ has wrong start/stop dates for DST, with JDK 1.6 on Ubuntu
- From: "John B. Matthews" <nospam@xxxxxxxxxxxxxx>
- Date: Tue, 14 Apr 2009 18:18:59 -0400
In article
<3acf3c31-e7c6-40ff-8127-a40b8debe401@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"david.karr" <davidmichaelkarr@xxxxxxxxx> wrote:
Here in Seattle, on April 14, we're in daylight savings time. I've[...]
noticed since DST started that log files created by Java applications
on my Ubuntu box are an hour behind. I figured it had something to do
with daylight savings time. Non-Java applications do not display this
symptom.
If it matters, here's the output of "java -version":
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
I wrote a small test application that prints out relevant information
about daylight savings time. I'll attach the test code, but the
output it produces follows this. You'll see that as of today, it
thinks DST is not in effect. It also shows that it thinks DST starts
on April 26, and ends on October 25, which is not correct.
You don't mention which version of Ubuntu, but apt-get may have updated
your tzdata, already. You'll need to update your Sun tables, too.
<http://java.sun.com/javase/tzupdater_README.html>
--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
.
- Follow-Ups:
- References:
- Prev by Date: Re: Canonical Comments
- Next by Date: Re: compile fail as regular user but ok as root on linux
- Previous by thread: Diagnose why Pacific TZ has wrong start/stop dates for DST, with JDK 1.6 on Ubuntu
- Next by thread: Re: Diagnose why Pacific TZ has wrong start/stop dates for DST, with JDK 1.6 on Ubuntu
- Index(es):
Relevant Pages
|