[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Updating RH box for upcoming DST change
- To: silug-discuss@silug.org
- Subject: Re: Updating RH box for upcoming DST change
- From: Robert Citek <rwcitek@alum.calberkeley.org>
- Date: Wed, 07 Mar 2007 15:49:01 -0600
- DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=Wx0k7W+dIAJFum0k+LbR9DXBmOTSypwQwRn5QNHYJa43fJQef8ENG2WaXJFqnMc32ZcXBwYtryJCNDo+qDXZcdfFjD+klRxVlsoNpN8O+R+klJJhPaV91KlIiIFTLuqtD3hDOwK5iDMY8auhlAkdeUeTkMRlzhLYPVLKt343Lqw=
- DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=M6RPSzaGXxtLwpPWVDju6+gszBBWqWyEhMWJljNwQkzm+Lzn+XvQa/sJgHtoeCGl7Scy6dLjBTgjvmu9lok7NPhYS82sWBbCJv2EObVZuAsUV5Qfug82BSYAbimBPwcP8OJ9d/ECA2Crf5C6SSyNlR792XKCmslLgEGCgvNBvww=
- In-Reply-To: <20070214230547.GA7150@osiris.silug.org>
- Organization: Southern Illinois Linux Users Group
- References: <3df642dd0702120847q1fee8959w5655e7c3680b93c1@mail.gmail.com> <20070212175231.GA31145@osiris.silug.org> <20070214230547.GA7150@osiris.silug.org>
- Reply-To: silug-discuss@silug.org
- Sender: silug-discuss-owner@silug.org
- User-Agent: Thunderbird 1.5.0.9 (X11/20070104)
Steven Pritchard wrote:
> I just saw someone mention on IRC that a good test for this is to run
> the following command:
>
> date -d '1970-01-01 UTC +1173679260 seconds'
>
> On systems with the wrong tzdata, you'll get this:
>
> Mon Mar 12 00:01:00 CST 2007
>
> You should get this though:
>
> Mon Mar 12 01:01:00 CDT 2007
A simplified variation is this:
$ date -d '2007-03-13'
Mon Mar 13 00:00:00 CST 2007 # wrong
Mon Mar 13 00:00:00 CDT 2007 # right
Same holds true for a late October date:
$ date -d '2007-10-30'
Tue Oct 30 00:00:00 CST 2007 # wrong
Tue Oct 30 00:00:00 CDT 2007 # right
Regards,
- Robert
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.