Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314141 - sys-libs/timezone-data: NZST daylight saving time still active
Summary: sys-libs/timezone-data: NZST daylight saving time still active
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 13:23 UTC by Johannes Buchner
Modified: 2010-04-09 22:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Buchner 2010-04-09 13:23:58 UTC
The daylight saving time is still active for NZ / New Zealand, but it ended already.

Is: $ date
Sat Apr 10 02:21:46 NZST 2010
Should: 
Saturday, 10 April 2010 at 1:19:58 a.m.
http://timeanddate.com/worldclock/results.html?query=Auckland

DST ended on Sunday, 4 April 2010 at 3:00 a.m. local daylight time
DST starts on Sunday, 26 September 2010 at 2:00 a.m. local standard time

using symlink /etc/localtime -> /usr/share/zoneinfo/Pacific/Auckland



Reproducible: Always

Steps to Reproduce:




Timestamp of tree: Fri, 09 Apr 2010 01:45:01 +0000
$ md5sum /usr/share/zoneinfo/Pacific/Auckland
2bcf2f33917bed5122c58a4f208066a9  /usr/share/zoneinfo/Pacific/Auckland
$ echo $RANDOM 
10511
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2010-04-09 17:57:43 UTC
Please add the contents of /etc/conf.d/clock.
Set the correct time and then CLOCK_SYSTOHC="yes" in that file.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2010-04-09 21:38:02 UTC
What's your version of sys-libs/timezone-data?
Comment 3 Johannes Buchner 2010-04-09 22:16:12 UTC
CLOCK_SYSTOHC was already on yes
setting the date using "date -s" yielded nothing.

----

CLOCK="local"
CLOCK_OPTS='--rtc=/dev/rtc0'
a=$(ln -s /dev/rtc0 /dev/rtc 2>/dev/null)
CLOCK_SYSTOHC="yes"
SRM="no"
ARC="no"
TIMEZONE="Pacific/Auckland"

----
# eix sys-libs/timezone-data
[I] sys-libs/timezone-data
     Available versions:  2010b ~2010e ~2010f ~2010g ~2010h {elibc_FreeBSD elibc_glibc nls}
     Installed versions:  2010b(11:54:35 AM 03/08/2010)(elibc_glibc nls -elibc_FreeBSD)
     Homepage:            ftp://elsie.nci.nih.gov/pub/
     Description:         Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)

Comment 4 Johannes Buchner 2010-04-09 22:45:44 UTC
Sorry, my mistake. I thought the S in NZST stood for summer, but actually it is 'standard' and my clock was just wrong by 1h. An ntp update corrected my offset of 1 hour, probably from booting another OS.