Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems after DST change
Date: Mon, 12 Mar 2007 16:05:16
Message-Id: 1173714859.9550.27.camel@blackwidow.nbk
In Reply to: Re: [gentoo-user] Problems after DST change by Mark Knecht
1 Mark,
2
3 First, I too have a host named "dragonfly"... did you happen to root my
4 box? ;-)
5
6 On Mon, 2007-03-12 at 08:30 -0700, Mark Knecht wrote:
7 > Yes, I saw Roger's post in another thread which I copied here. I did
8 > all that and ran zdump. It looks similar to Rogers. I'm in California:
9 >
10 > <QUOTE>
11 > 1) Sync.
12 >
13 > (2) emerge timezone-data (should be >= 2006p)
14 >
15 > (3) set TIMEZONE="Canada/Newfoundland" in /etc/conf.d/clock (adjust
16 > for your local time zone).
17 >
18 Not sure, if you are living in California, that you set your timezone to
19 Canada/Newfoundland... though admittedly, I don't know the TZ rules in
20 Canada. Did they too change their DST dates?
21
22 > (4) rm /etc/localtime && cp /usr/share/zoneinfo/Canada/Newfoundland
23 > /etc/localtime (adjust for your local time zone).
24 >
25 > (5) Check: zdump -v /etc/localtime | grep 2007.
26 > For timezone-data = 2007c it shows:
27 >
28 > /etc/localtime Sun Mar 11 03:30:59 2007 UTC = Sun Mar 11 00:00:59
29 > 2007 NST isdst=0
30 > /etc/localtime Sun Mar 11 03:31:00 2007 UTC = Sun Mar 11 01:01:00
31 > 2007 NDT isdst=1
32 > /etc/localtime Sun Nov 4 02:30:59 2007 UTC = Sun Nov 4 00:00:59
33 > 2007 NDT isdst=1
34 > /etc/localtime Sun Nov 4 02:31:00 2007 UTC = Sat Nov 3 23:01:00
35 > 2007 NST isdst=0
36 > <QUOTE>
37 >
38 > And here is mine:
39 >
40 > dragonfly ~ # zdump -v /etc/localtime | grep 2007
41 > /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59
42 > 2007 PST isdst=0
43 > /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00
44 > 2007 PDT isdst=1
45 > /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59
46 > 2007 PDT isdst=1
47 > /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00
48 > 2007 PST isdst=0
49 > dragonfly ~ #
50 >
51 > dragonfly ~ # date
52 > Mon Mar 12 08:29:08 PDT 2007
53 > dragonfly ~ #
54 >
55 >
56 > The problem I'm having is that I don't know how to figure out if the
57 > machine would have the correct date when I reboot.
58
59 You don't need to reboot. Well, maybe if you made this change recently
60 (e.g. after DST changed) you do. But basically what you are seeing
61 (from zdump) looks ok to me, meaning at 11 Mar 10:00:00 UTC your local
62 time is 3:00 AM and DST switches on. and on 4 Nov 9:00:00 UTC your local
63 time is 1:00 AM and DST switches off.
64
65 --
66 Albert W. Hopkins
67
68 --
69 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Problems after DST change Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Problems after DST change Roger Mason <rmason@×××××××.ca>