Re: Patch for Daylight Savings Time (DST))
On Wed, Jan 31, 2007 at 06:05:18AM -0600, Hugo Vanwoerkom wrote:
> Rob Sims wrote:
> >$ zdump -v /etc/localtime | grep 2007
> >/etc/localtime Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007
> >MST isdst=0 gmtoff=-25200
> >/etc/localtime Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007
> >MDT isdst=1 gmtoff=-21600
> >/etc/localtime Sun Nov 4 07:59:59 2007 UTC = Sun Nov 4 01:59:59 2007
> >MDT isdst=1 gmtoff=-21600
> >/etc/localtime Sun Nov 4 08:00:00 2007 UTC = Sun Nov 4 01:00:00 2007
> >MST isdst=0 gmtoff=-25200
> >
> >Just take the current "security" updates for libc6.
>
> Neat. But this proves that ST setup is ok?
In a slightly different form:
date --date="Mar 10 15:00:00 UTC 2007"
Sat Mar 10 09:00:00 CST 2007
date --date="Mar 11 15:00:00 UTC 2007"
Sun Mar 11 10:00:00 CDT 2007
You see in the output of these date commands that the timezone is listed
as CST on March 10 and CDT on March 11, which is correct. You can run
the same to commands to determine whether your system also returns the
correct timezones on those dates. (Given that I'm running stable and
get correct results, I expect that you'll be fine as long as you're
up-to-date with whichever branch you're running.)
--
I would rather be exposed to the inconvenience attending too much Liberty
than those attending too small degree of it.
- Thomas Jefferson
Reply to: