[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#185972: libc6: `zdump -v Asia/Dili' prints TPT as timezone abbreviation for *all* line.



Package: libc6
Version: 2.3.1-14
Severity: normal

`zdump -v Asia/Dili' outputs as follows:

% zdump -v Asia/Dili
Asia/Dili  Fri Dec 13 20:45:52 1901 UTC = Sat Dec 14 05:08:12 1901 TPT isdst=0 gmtoff=30140
Asia/Dili  Sat Dec 14 20:45:52 1901 UTC = Sun Dec 15 05:08:12 1901 TPT isdst=0 gmtoff=30140
Asia/Dili  Sun Dec 31 15:37:39 1911 UTC = Sun Dec 31 23:59:59 1911 TPT isdst=0 gmtoff=30140
Asia/Dili  Sun Dec 31 15:37:40 1911 UTC = Sun Dec 31 23:37:40 1911 TPT isdst=0 gmtoff=28800
Asia/Dili  Sat Feb 21 14:59:59 1942 UTC = Sat Feb 21 22:59:59 1942 TPT isdst=0 gmtoff=28800
Asia/Dili  Sat Feb 21 15:00:00 1942 UTC = Sun Feb 22 00:00:00 1942 TPT isdst=0 gmtoff=32400
Asia/Dili  Sun May  2 14:59:59 1976 UTC = Sun May  2 23:59:59 1976 TPT isdst=0 gmtoff=32400
Asia/Dili  Sun May  2 15:00:00 1976 UTC = Sun May  2 23:00:00 1976 TPT isdst=0 gmtoff=28800
Asia/Dili  Sat Sep 16 15:59:59 2000 UTC = Sat Sep 16 23:59:59 2000 TPT isdst=0 gmtoff=28800
Asia/Dili  Sat Sep 16 16:00:00 2000 UTC = Sun Sep 17 01:00:00 2000 TPT isdst=0 gmtoff=32400
Asia/Dili  Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 12:14:07 2038 TPT isdst=0 gmtoff=32400
Asia/Dili  Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 12:14:07 2038 TPT isdst=0 gmtoff=32400

All line has TPT as timezone abbreviation but it is wrong.

For example, the line for `Sat Sep 16 15:59:59 2000 UTC' should be CIT.
At least date(1) knows it.

% TZ=Asia/Dili date -d 'Sat Sep 16 15:59:59 2000 UTC'
Sat Sep 16 23:59:59 CIT 2000

Also, FreeBSD 4.7's zdump works well as:

FreeBSD% zdump -v Asia/Dili 
Asia/Dili  Fri Dec 13 20:45:52 1901 UTC = Sat Dec 14 05:08:12 1901 LMT isdst=0 gmtoff=30140
Asia/Dili  Sat Dec 14 20:45:52 1901 UTC = Sun Dec 15 05:08:12 1901 LMT isdst=0 gmtoff=30140
Asia/Dili  Sun Dec 31 15:37:39 1911 UTC = Sun Dec 31 23:59:59 1911 LMT isdst=0 gmtoff=30140
Asia/Dili  Sun Dec 31 15:37:40 1911 UTC = Sun Dec 31 23:37:40 1911 TPT isdst=0 gmtoff=28800
Asia/Dili  Sat Feb 21 14:59:59 1942 UTC = Sat Feb 21 22:59:59 1942 TPT isdst=0 gmtoff=28800
Asia/Dili  Sat Feb 21 15:00:00 1942 UTC = Sun Feb 22 00:00:00 1942 JST isdst=0 gmtoff=32400
Asia/Dili  Tue Jul 31 14:59:59 1945 UTC = Tue Jul 31 23:59:59 1945 JST isdst=0 gmtoff=32400
Asia/Dili  Tue Jul 31 15:00:00 1945 UTC = Wed Aug  1 00:00:00 1945 TPT isdst=0 gmtoff=32400
Asia/Dili  Sun May  2 14:59:59 1976 UTC = Sun May  2 23:59:59 1976 TPT isdst=0 gmtoff=32400
Asia/Dili  Sun May  2 15:00:00 1976 UTC = Sun May  2 23:00:00 1976 CIT isdst=0 gmtoff=28800
Asia/Dili  Sat Sep 16 15:59:59 2000 UTC = Sat Sep 16 23:59:59 2000 CIT isdst=0 gmtoff=28800
Asia/Dili  Sat Sep 16 16:00:00 2000 UTC = Sun Sep 17 01:00:00 2000 TPT isdst=0 gmtoff=32400
Asia/Dili  Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 12:14:07 2038 TPT isdst=0 gmtoff=32400
Asia/Dili  Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 12:14:07 2038 TPT isdst=0 gmtoff=32400

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux serein 2.4.20-686 #1 Mon Jan 13 22:22:30 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl




Reply to: