On Wed, 29 May 2002, Greg Morgan wrote:

[... helpful resources omitted...]

> I just fixed my date this weekend.  I used just a file out of
> /usr/share/zoneinfo( I had access to a Linux box).  Arizona doesn't do
> daylight saving time.  So I copied MTS7MDT to /etc/localtime.    This
> technique saves some space especially for floppy users. All you have to
> do is then backup etc.lrp.

I think this paragraph has three errors:

 a) MST is Mountain Standard Time... MTS is a typo.

 b) TZ string should be MST7, with no three-letter acronym after the
number, because that triggers daylight savings time handling in code that
interprets the TZ environment variable. (I am not sure if any
commonly-available LEAF programs use TZ or /etc/timezone rather than
/etc/localtime, so this may only be informational.)

 c) /etc/localtime, as indicated below, should be a link to a
tzfile-format file, usually in /usr/share/zoneinfo.  I think the file that
was intended in the paragraph above was /etc/timezone.

Eric Wolzak wrote:
> > make /etc/localtime a symbolic link to /usr/share/zoneinfo.
> > now date will no longer show 16:21 UTC but 9:21 whatsyourtimezone.
> > The logging is also in localtime.
> > don't forget to backup root and etc.

[...]

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[EMAIL PROTECTED]>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------





_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to