lkml.org 
[lkml]   [1998]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Off-topic year-2000
Date
Followup to:  <Pine.LNX.3.95.980116034803.342A-100000@chaos.analogic.com>
By author: "Richard B. Johnson" <root@chaos.analogic.com>
In newsgroup: linux.dev.kernel
>
> The current time, set by (void)time(&tim); in the program is correct
> in all cases and does not show the 5-hour difference. The 5-hour
> difference is likely caused by our 5-hour offset from GMT, but it
> doesn't show such an offset when using the current time, only in
> the future time.
>
> My TZ variable is set as TZ=EST and is exported. Removing it makes
> the time GMT so I know it's being checked and included in the
> calculations.
>
> So this is something that has to be looked at within the next two
> years <grin>.
>

This is most likely because "EST" isn't a valid timezone, although the
older timezone tables probably accept it. Try setting it to
(preferred) America/New_York or to US/Eastern and try again.

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.316 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site