[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: To synchronize system time witn NTP-server with no winter time shift whole year - how to?



On Sun, Mar 29, 2009 at 11:53:57AM -0500, John Hasler wrote:

> > For me, summer-time has always been something of an annoyance.
> 
> For me "Daylight Savings Time" has always been idiocy.
> 
> BTW your "file mtimes" are stored in Unix time and converted to your
> timezone for display.

And the time zone includes definitions of daylight saving time.

$ zdump -v /etc/localtime | grep 2009
/etc/localtime  Thu Mar 26 23:59:59 2009 UTC = Fri Mar 27 01:59:59 2009 IST isdst=0 gmtoff=7200
/etc/localtime  Fri Mar 27 00:00:00 2009 UTC = Fri Mar 27 03:00:00 2009 IDT isdst=1 gmtoff=10800
/etc/localtime  Sat Sep 26 22:59:59 2009 UTC = Sun Sep 27 01:59:59 2009 IDT isdst=1 gmtoff=10800
/etc/localtime  Sat Sep 26 23:00:00 2009 UTC = Sun Sep 27 01:00:00 2009 IST isdst=0 gmtoff=7200

So generally there's no need to change a timezone to make the DST take
effect. Just set the proper time zone in advance.

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: