Package: libgcj4 Version: 1:3.3.1-0rc1 Severity: normal
At first, I am not sure it is bug of libgcj, I report bug here beacuse both gij and gcj depends on this package. The bug is: gij subtracts time from GMT time when it should add. Look at output below: ##### TZ='Europe/Kaliningrad'; export TZ ##### gij Main Mon Jul 28 13:19:15 GMT-02:00 2003 ##### java Main Mon Jul 28 18:19:22 EEST 2003 ##### date Mon Jul 28 18:19:24 EEST 2003 ##### TZ='Europe/Moscow'; export TZ ##### gij Main Mon Jul 28 12:19:33 GMT-03:00 2003 ##### java Main Mon Jul 28 19:19:37 MSD 2003 ##### date Mon Jul 28 19:19:39 MSD 2003 Moscow's timezone is GMT+3 at summer, not GMT-3. java is Sun's Java. ##### cat Main.java import java.util.*; public class Main { public static void main(String[] args) { System.out.println(new Date()); } } ##### -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux banana.mx1.ru 2.4.18 #3 Thu Jun 27 17:31:10 UTC 2002 i686 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R Versions of packages libgcj4 depends on: ii libc6 2.3.1-17 GNU C Library: Shared libraries an ii libgcc1 1:3.3.1-0rc1 GCC support library ii libgcj-common 1:3.3.1-0rc1 Java runtime library (common files ii xlibs 4.2.1-8 X Window System client libraries ii zlib1g 1:1.1.4-13 compression library - runtime -- no debconf information