From owner-freebsd-java Tue May 18 22: 3:53 1999 Delivered-To: freebsd-java@freebsd.org Received: from vortex.greycat.com (vortex.greycat.com [207.173.133.4]) by hub.freebsd.org (Postfix) with SMTP id 6294314DEB for ; Tue, 18 May 1999 22:03:48 -0700 (PDT) (envelope-from dann@greycat.com) Received: (qmail 18779 invoked from network); 19 May 1999 05:03:47 -0000 Received: from bigphred.greycat.com (HELO greycat.com) (207.173.133.2) by vortex.greycat.com with SMTP; 19 May 1999 05:03:47 -0000 Message-ID: <37424635.3B968743@greycat.com> Date: Tue, 18 May 1999 22:03:49 -0700 From: Dann Lunsford Organization: You're kidding, right? X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.2-BETA i386) X-Accept-Language: en MIME-Version: 1.0 To: java@freebsd.org Subject: Time and jdk 1.1.7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I recently noticed a peculiarity in the Java app Moneydance (pretty good personal finance finance paackage): It was reporting dates and times as GMT, completely ignoring the time zone settings. Turns out another FreeBSD user had already noticed this and reported it to the author. Comparing notes, we found that we were both using 3.1-stable, and then a little checking revealed that the Clock demo applet was also doing the same thing, e.g, reporting it was 0230 tomorrow morning at 1930 PDT. Several experiments and it became clear that the timezone settings are univerally ignored; not a bug in Moneydance, but a Java bug. A quick search of the archive turned up one reference to the TimeZone class being broken, so... Is there a workaround or a fix available? I'd class this as more an annoyance than anything. The interesting thing is that the author reports that setting TZ to PDT works fine on a 2.2.8-R system. Any thoughts? Dann Lunsford dann@greycat.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message