Re: day light saving time happened today

2013-03-11 Thread Fbsd8

Ben Cottrell wrote:

On Mar 10, 2013, at 19:18, Fbsd8 fb...@a1poweruser.com 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.







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Noel
On 3/11/2013 7:49 AM, Fbsd8 wrote:

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

EDT = Eastern Daylight Time timezone
not to be confused with
EST = Eastern Standard Time timezone
not to be confused with
DST = daylight savings time, not a timezone, never shown on a computer.

Your system correctly switched to daylight savings time, as verified
by the EDT timezone indicator.  Most likely the clock was already an
hour slow before the time change.



  -- Noel Jones


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Peter A. Giessel

On 2013, Mar 11, at 4:49, Fbsd8 wrote:

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


EST = Eastern Standard Time
EDT = Eastern Daylight Savings Time

EDT = Daylight Savings.  Your date command is showing DST.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Jerry
On Mon, 11 Mar 2013 09:18:23 -0500
Noel articulated:

 On 3/11/2013 7:49 AM, Fbsd8 wrote:
 
  Even though the system is now on DST the date command still
  displays EDT. Does the date command ever show DST?
 
 EDT = Eastern Daylight Time timezone
 not to be confused with
 EST = Eastern Standard Time timezone
 not to be confused with
 DST = daylight savings time, not a timezone, never shown on a
 computer.
 
 Your system correctly switched to daylight savings time, as verified
 by the EDT timezone indicator.  Most likely the clock was already an
 hour slow before the time change.

Just wondering, but do you have NTP running to keep the time accurate?

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: day light saving time happened today

2013-03-11 Thread Chad Perrin
On Mon, Mar 11, 2013 at 08:49:45AM -0400, Fbsd8 wrote:
 
 
 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?

As noted by others, EDT is Eastern Daylight Time, which is what
should be showing during DST in the Eastern (US) time zone.  When it's
not DST, what should be showing in the Eastern time zone is EST
instead.  From what you said, though, it seems you had set it to EDT
when it was not yet daylight saving time.  I wonder if this might be the
cause of the actual problem.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Fbsd8

Jerry wrote:

On Mon, 11 Mar 2013 09:18:23 -0500
Noel articulated:


On 3/11/2013 7:49 AM, Fbsd8 wrote:

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

EDT = Eastern Daylight Time timezone
not to be confused with
EST = Eastern Standard Time timezone
not to be confused with
DST = daylight savings time, not a timezone, never shown on a
computer.

Your system correctly switched to daylight savings time, as verified
by the EDT timezone indicator.  Most likely the clock was already an
hour slow before the time change.


Just wondering, but do you have NTP running to keep the time accurate?


no
but I do run ntpd -q a few times a year to keep the tine accurate.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


day light saving time happened today

2013-03-10 Thread Fbsd8
day light saving time happened early sunday morning and the time shown 
by the date command is still one hour behind. I just did a clean 9.1 
install from cdrom and selected the correct time zone for my location.


I don't see any entry for daylight saving time in tzsetup

I though the EDT had daylight saving time built in.

How do I configure time for auto daylight saving time corrections?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Ben Cottrell
On Mar 10, 2013, at 10:37, Fbsd8 fb...@a1poweruser.com wrote:
 day light saving time happened early sunday morning and the time shown by the 
 date command is still one hour behind. I just did a clean 9.1 install from 
 cdrom and selected the correct time zone for my location.

The DST change worked fine for me...!

I'm curious what it prints if you run the command:

find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q 
/etc/localtime`

It used to be that /etc/localtime was, by convention if
nothing else, a symlink so you could easily see what it pointed
to, but not anymore... the above is the easiest way I can think
of to figure out what time zone your system is *really* set to.

Yes, it should have happened automatically. There's no special
setting you have to enable. It should have just worked. So
my suspicion is that your /etc/localtime isn't pointing to
what you think it's pointing to...

~Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread John Levine
day light saving time happened early sunday morning and the time shown 
by the date command is still one hour behind. I just did a clean 9.1 
install from cdrom and selected the correct time zone for my location.

I don't see any entry for daylight saving time in tzsetup

I though the EDT had daylight saving time built in.

It does.  Any chance your computer's clock got reset an hour slow?

My 8.3 and 9.1 systems handled the daylight switch just like they were
supposed to.

-- 
Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies,
Please consider the environment before reading this e-mail. http://jl.ly

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Fbsd8

Ben Cottrell wrote:

On Mar 10, 2013, at 10:37, Fbsd8 fb...@a1poweruser.com wrote:

day light saving time happened early sunday morning and the time shown by the 
date command is still one hour behind. I just did a clean 9.1 install from 
cdrom and selected the correct time zone for my location.


The DST change worked fine for me...!

I'm curious what it prints if you run the command:

find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q 
/etc/localtime`

It used to be that /etc/localtime was, by convention if
nothing else, a symlink so you could easily see what it pointed
to, but not anymore... the above is the easiest way I can think
of to figure out what time zone your system is *really* set to.

Yes, it should have happened automatically. There's no special
setting you have to enable. It should have just worked. So
my suspicion is that your /etc/localtime isn't pointing to
what you think it's pointing to...

~Ben



This is what that find produced

# /root find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 
-q /etc /localtime`
MD5 (/usr/share/zoneinfo/America/New_York) = 
e4ca381035a34b7a852184cc0dd89baa
MD5 (/usr/share/zoneinfo/posixrules)   = 
e4ca381035a34b7a852184cc0dd89baa


echo $TZ undefined variable



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Ben Cottrell
On Mar 10, 2013, at 14:50, Fbsd8 fb...@a1poweruser.com wrote:
 # /root find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q 
 /etc /localtime`
 MD5 (/usr/share/zoneinfo/America/New_York) = e4ca381035a34b7a852184cc0dd89baa

That's really, really odd. I'm confused.

If you run date does it show the time zone as EST or EDT? If you
have python installed, you might also try:

python -c 'import time; print time.localtime().tm_isdst'
(it should be 1)

Is the year correct? I mean, could it be thinking it's some different
year, where the time zone rules are different?

Now *I'm* curious. :-) I've honestly never seen a system do that
before. If you figure it out, I hope you'll let either me, or the
list, know what it was!

~Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Fbsd8

Ben Cottrell wrote:

On Mar 10, 2013, at 14:50, Fbsd8 fb...@a1poweruser.com wrote:

# /root find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q 
/etc /localtime`
MD5 (/usr/share/zoneinfo/America/New_York) = e4ca381035a34b7a852184cc0dd89baa


That's really, really odd. I'm confused.

If you run date does it show the time zone as EST or EDT? If you
have python installed, you might also try:

python -c 'import time; print time.localtime().tm_isdst'
(it should be 1)

Is the year correct? I mean, could it be thinking it's some different
year, where the time zone rules are different?

Now *I'm* curious. :-) I've honestly never seen a system do that
before. If you figure it out, I hope you'll let either me, or the
list, know what it was!

~Ben



date command shows
Sun Mar 10 16:50:33 EDT 2013

No python on my system.

The real question is does New York State have day light saving time?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Chris Hill

On Sun, 10 Mar 2013, Fbsd8 wrote:


date command shows
Sun Mar 10 16:50:33 EDT 2013


Very odd that your clock would be off by *two* hours.


The real question is does New York State have day light saving time?


Yes, it does. I lived there for many years.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Lowell Gilbert
Chris Hill ch...@monochrome.org writes:

 On Sun, 10 Mar 2013, Fbsd8 wrote:

 date command shows
 Sun Mar 10 16:50:33 EDT 2013

 Very odd that your clock would be off by *two* hours.

Yep. 

The next test is to check the clock in GMT. 
I expect it to be off, which means that the timezone rules are not the
problem. If this is not the case, the diagnosis gets more interesting.

 The real question is does New York State have day light saving time?

 Yes, it does. I lived there for many years.

He's not making this up, folks.

[On the other hand, the rules have changed multiple times since he left there.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Fbsd8

Lowell Gilbert wrote:


The next test is to check the clock in GMT. 
I expect it to be off, which means that the timezone rules are not the

problem. If this is not the case, the diagnosis gets more interesting.




And how do you purpose I check the clock in GMT?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [Bulk] Re: day light saving time happened today

2013-03-10 Thread Mike Jeays
On Sun, 10 Mar 2013 21:42:52 -0400
Fbsd8 fb...@a1poweruser.com wrote:

 Lowell Gilbert wrote:
  
  The next test is to check the clock in GMT. 
  I expect it to be off, which means that the timezone rules are not the
  problem. If this is not the case, the diagnosis gets more interesting.
  
  
 
 And how do you purpose I check the clock in GMT?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

date -u should do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [Bulk] Re: day light saving time happened today

2013-03-10 Thread Fbsd8

Mike Jeays wrote:

On Sun, 10 Mar 2013 21:42:52 -0400
Fbsd8 fb...@a1poweruser.com wrote:


Lowell Gilbert wrote:
The next test is to check the clock in GMT. 
I expect it to be off, which means that the timezone rules are not the

problem. If this is not the case, the diagnosis gets more interesting.



And how do you purpose I check the clock in GMT?



date -u should do it.




date -u  shows
Mon Mar 11 01:08:39 UTC 2013

date shows
Sun Mar 10 01:08:47 EDT 2013

In tzsetup I selected north America, EDT.
It's the first one on the list.


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.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [Bulk] Re: day light saving time happened today

2013-03-10 Thread Ben Cottrell
On Mar 10, 2013, at 19:18, Fbsd8 fb...@a1poweruser.com 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org