[OpenIndiana-discuss] Date/Time doesn't adjust to Day Light Saving time (EDT)

Erdos New shaojwen at aim.com
Mon Apr 3 03:35:45 UTC 2017


here're the current setting:

/etc/default/init shows:
 TZ=US/Eastern
CMASK=022
LANG=en_US.UTF-8

while  /etc/default/login  has:

#TIMEZONE=EST5EDT

 
erdos at openindiana:/etc/default$ echo $TZ

erdos at openindiana:/etc/default$


-erdos

 

-----Original Message-----
From: Bob Friesenhahn <bfriesen at simple.dallas.tx.us>
To: Erdos New <shaojwen at aim.com>; Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>
Sent: Sun, Apr 2, 2017 11:14 am
Subject: Re: [OpenIndiana-discuss] Date/Time doesn't adjust to Day Light Saving time (EDT)

On Sat, 1 Apr 2017, Erdos New via openindiana-discuss wrote:

> ok good to know, thanks!
>
> i just run ntp to correct the time.
>
> # ntpdate -s time.nist.gov

NTP is not directly related to daylight savings time except for during 
the during the 24-hour interval when transitions in a given time zone 
may occur.  NTP only keeps UTC time correct.

Check the TZ value in /etc/default/init, or /etc/default/login 
TIMEZONE if you want login shells to behave differently than the rest 
of the system.

Do 'echo $TZ' to see the current setting that your shell is using.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



More information about the openindiana-discuss mailing list