Re: Re: timezone = 1168 ???

1999-01-14 Thread David Wright
); } And this is the output: tzname=[CET,CEST] timezone=-1168 tzname Is correct, but timezone is not. [snip] I've noticed a similar problem on my system. I first noticed me when someone pointed out to me that my mail's time says -0600 (EST) which is, of course, incorrect. It should read CST. I asked

timezone = 1168 ???

1999-01-13 Thread Edwin Martin
instruction for localtime() localtime( t );// sets tzname and timezone printf( tzname=[%s,%s]\n, tzname[0], tzname[1] ); printf( timezone=%ld\n, timezone ); } And this is the output: tzname=[CET,CEST] timezone=-1168 tzname Is correct, but timezone is not. Can anybody

Re: timezone = 1168 ???

1999-01-13 Thread Eric Gillespie, Jr.
] timezone=-1168 tzname Is correct, but timezone is not. Can anybody explain this? Is this a bug in glibc or something? Thanx, Edwin Martin. --- The world is moving so fast these days that the person who says it can't be done is generally interrupted by someone

Re: timezone = 1168 ???

1999-01-13 Thread Oliver Elphick
Eric Gillespie, Jr. wrote: I've noticed a similar problem on my system. I first noticed me when someone pointed out to me that my mail's time says -0600 (EST) which is, of course, incorrect. It should read CST. I asked what was going on once, but no one responded. I ran your little program

Re: timezone = 1168 ???

1999-01-13 Thread Eric Gillespie, Jr.
On Wed, 13 Jan 1999, Oliver Elphick wrote: I can't comment on why you're getting EST instead of CST, but 21600 is surely correct for a 6 hour difference from UTC. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight