day light saving time happened today

Fbsd8 fbsd8 at
Mon Mar 11 12:49:48 UTC 2013

Ben Cottrell wrote:
> On Mar 10, 2013, at 19:18, Fbsd8 <fbsd8 at> wrote:
>> What is really needed is for the tzsetup program to state which east coast selections have day light saving included. Maybe a pr is in order.
> Nope, you pretty conclusively proved that you're using the right
> time zone setting. Trust me. :-) That md5 you posted is the exact
> same md5 that's on my own system. My own America/New_York is
> doing just fine, thank you. ;-)
> Something else is going on. *What*, I don't know. But you chose
> the right time zone in tzsetup and that time zone description
> file definitely does have DST rules in it.
> I never use the wall_cmos_clock setting, because I don't trust
> it -- at least with the traditional behavior (wall_cmos_clock=0)
> I know *exactly* what's going on. I really don't know what is
> happening under the hood when that's turned on, so I have no
> idea if it could be related or not. But I'm curious what
> it shows if you run:
> sysctl machdep.wall_cmos_clock
> 	~Ben

sysctl machdep.wall_cmos_clock returned 0

Ran this little test.
Last night before turning off my system I used the date command to set 
the date to 3/9 with the correct DST. This morning when I turned on my 
system the time had advanced by one hour. So this proves that the time 
zone setting does have DST in it and every thing worked as expected.

Even though the system is now on DST the date command still displays 
EDT. Does the date command ever show DST?

Now about the question of why did the time not jump forward on the date 
it was suppose to?

It all boils down to this, On 3/9 I did not check the time. I just 
expected it to be correct. Even though the date and time is displayed 
every morning when I boot my system, I have never in 20 years taken the 
time to verify if its correct on any of the many PCs I have used.

It is totally possible that the system time was incorrect and I was just 
not aware of it before DST went into effect, after which I checked the 
time as I did with all the other clocks in the house.

So for now, thats how I am leaving things.

More information about the freebsd-questions mailing list