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@openindiana:/etc/default$ echo $TZ

erdos@openindiana:/etc/default$


-erdos

 

-----Original Message-----
From: Bob Friesenhahn <[email protected]>
To: Erdos New <[email protected]>; Discussion list for OpenIndiana 
<[email protected]>
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
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to