Gnus development mailing list
 help / color / mirror / Atom feed
* [current-time-string reports incorrect time]
@ 1997-01-17  2:40 Danny Siu
  1997-01-17 16:19 ` [++] " Colin Rafferty
  1997-01-18  1:23 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 7+ messages in thread
From: Danny Siu @ 1997-01-17  2:40 UTC (permalink / raw)



Guys,

Doing (current-time-string) before starting rgnus-0.81 gives "Thu Jan 16
18:32:19 1997".  It is the correct local time.

After rgnus-0.81 started (current-time-string) gives "Fri Jan 17 02:35:31
1997" which is 8 hours ahead of local time.

This didn't occur in rgnus-0.66.

I am using rgnus-0.81 with XEmacs-19.14.

Does anyone see this bug?

-- 
                                                                ^..^
 '/..\"                                                        ( oo )  )~
m( oo )m                                                         ,,  ,,
/=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
|  Danny Dick-Fung Siu                http://www-leland.stanford.edu/~dsiu |
|  Reference System Group             http://www.csua.berkeley.edu/~dsiu   |
|  Adobe Systems Incorporated       E-Mail:<dsiu@alumni.eecs.berkeley.edu> |
|       "What do you expect from a         <dsiu@leland.stanford.edu>      |
|          Cal. Berkeley grad.?"           <dsiu@adobe.com>                |
\=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [++] Re: [current-time-string reports incorrect time]
  1997-01-17  2:40 [current-time-string reports incorrect time] Danny Siu
@ 1997-01-17 16:19 ` Colin Rafferty
  1997-01-18  1:23 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 7+ messages in thread
From: Colin Rafferty @ 1997-01-17 16:19 UTC (permalink / raw)


Danny Siu writes:

> Doing (current-time-string) before starting rgnus-0.81 gives "Thu Jan 16
> 18:32:19 1997".  It is the correct local time.

> After rgnus-0.81 started (current-time-string) gives "Fri Jan 17 02:35:31
> 1997" which is 8 hours ahead of local time.

I am still on 0.79, so I would not see this bug.  However, I noticed
that you are probably located in California (which is eight hours behind
Greenwich) and that your header has the following line:

> Date: 17 Jan 1997 02:40:14 +0000

I suspect that something is changing your time zone to +0000 from its
appropriate setting of -0800.

-- 
This posting adheres to the SELF-DISCIPLINE guidelines for better
USENET discussions. See http://www.eiffel.com/discipline.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [current-time-string reports incorrect time]
  1997-01-17  2:40 [current-time-string reports incorrect time] Danny Siu
  1997-01-17 16:19 ` [++] " Colin Rafferty
@ 1997-01-18  1:23 ` Lars Magne Ingebrigtsen
  1997-01-20 22:15   ` Danny Siu
  1 sibling, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-01-18  1:23 UTC (permalink / raw)


Danny Siu <dsiu@Adobe.COM> writes:

> Doing (current-time-string) before starting rgnus-0.81 gives "Thu Jan 16
> 18:32:19 1997".  It is the correct local time.
> 
> After rgnus-0.81 started (current-time-string) gives "Fri Jan 17 02:35:31
> 1997" which is 8 hours ahead of local time.

Yes...  I remember seeing RMS saying something like this; there was a
bug in some timezone thingie that would set the timezone if one called
one of the time functions with a specified timezone.  It has been
fixed in Emacs now, but I'm not sure whether the same patch has been
applied to XEmacs...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [current-time-string reports incorrect time]
  1997-01-18  1:23 ` Lars Magne Ingebrigtsen
@ 1997-01-20 22:15   ` Danny Siu
  1997-01-20 23:09     ` Rich Pieri
  0 siblings, 1 reply; 7+ messages in thread
From: Danny Siu @ 1997-01-20 22:15 UTC (permalink / raw)


Lars Magne Ingebrigtsen writes:

  Lars> Danny Siu <dsiu@Adobe.COM> writes:
  >> Doing (current-time-string) before starting rgnus-0.81 gives "Thu Jan
  >> 16 18:32:19 1997".  It is the correct local time.
  >> 
  >> After rgnus-0.81 started (current-time-string) gives "Fri Jan 17
  >> 02:35:31 1997" which is 8 hours ahead of local time.

  Lars> Yes...  I remember seeing RMS saying something like this; there was
  Lars> a bug in some timezone thingie that would set the timezone if one
  Lars> called one of the time functions with a specified timezone.  It has
  Lars> been fixed in Emacs now, but I'm not sure whether the same patch has
  Lars> been applied to XEmacs...

If assume that this is the problem, is there a way to specific timezone in
(X)Emacs?  8 hours is way off...  I want to change timezone to at least
somewhere near California...

Also worth notice is that the problem didn't happen in rgnus-0.66.  Did any
timezone related stuff in GNUS (message.el, parse-time.el, etc...) get
changed from then to now?

-- 
                                                                ^..^
 '/..\"                                                        ( oo )  )~
m( oo )m                                                         ,,  ,,
/=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
|  Danny Dick-Fung Siu                http://www-leland.stanford.edu/~dsiu |
|  Reference System Group             http://www.csua.berkeley.edu/~dsiu   |
|  Adobe Systems Incorporated       E-Mail:<dsiu@alumni.eecs.berkeley.edu> |
|       "What do you expect from a         <dsiu@leland.stanford.edu>      |
|          Cal. Berkeley grad.?"           <dsiu@adobe.com>                |
\=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [current-time-string reports incorrect time]
  1997-01-20 22:15   ` Danny Siu
@ 1997-01-20 23:09     ` Rich Pieri
  1997-01-20 23:40       ` Danny Siu
  0 siblings, 1 reply; 7+ messages in thread
From: Rich Pieri @ 1997-01-20 23:09 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----

>>>>> "DS" == Danny Siu <dsiu@Adobe.COM> writes:

DS> If assume that this is the problem, is there a way to specific
DS> timezone in (X)Emacs?  8 hours is way off...  I want to change
DS> timezone to at least somewhere near California...

Ummm... California *IS* 8 hours off of GMT/UTC.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBMuP7H56VRH7BJMxHAQEgcgQAtuHi7SGz66a38diqS2AOoIMRUNC6SHPm
JlnfPfsT6J/EnyxSKFsMvws6UanXWWQZ/FjfV+o8qKfZ7QlMeQMk/hflccGVUOaT
QPh/yA+STF3qgXjJL7Df9G/Hgv8udJ0ng/e/i7PNM/yM8cWFP3RrOQidnMUzyPqR
jfFTL3DOzVE=
=I+dW
-----END PGP SIGNATURE-----
-- 
Rich Pieri <rich.pieri@prescienttech.com> | Do not taunt Happy Fun Ball.
Prescient Technologies, Inc.              | 
A Stone & Webster Company                 | 
I speak for myself, not PTI or SWEC       | 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [current-time-string reports incorrect time]
  1997-01-20 23:09     ` Rich Pieri
@ 1997-01-20 23:40       ` Danny Siu
  1997-01-21  0:27         ` Justin Sheehy
  0 siblings, 1 reply; 7+ messages in thread
From: Danny Siu @ 1997-01-20 23:40 UTC (permalink / raw)


Rich Pieri writes:

  Rich> -----BEGIN PGP SIGNED MESSAGE-----
  >>>>>> "DS" == Danny Siu <dsiu@Adobe.COM> writes:

  DS> If assume that this is the problem, is there a way to specific
  DS> timezone in (X)Emacs?  8 hours is way off...  I want to change
  DS> timezone to at least somewhere near California...

  Rich> Ummm... California *IS* 8 hours off of GMT/UTC.

Thats' right!  I am in California *but* (current-time-zone) gives (1 "XXX")
after I loaded rgnus!  (it was (-800 "PST") before rgnus is loaded)

-- 
                                                                ^..^
 '/..\"                                                        ( oo )  )~
m( oo )m                                                         ,,  ,,
/=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
|  Danny Dick-Fung Siu                http://www-leland.stanford.edu/~dsiu |
|  Reference System Group             http://www.csua.berkeley.edu/~dsiu   |
|  Adobe Systems Incorporated       E-Mail:<dsiu@alumni.eecs.berkeley.edu> |
|       "What do you expect from a         <dsiu@leland.stanford.edu>      |
|          Cal. Berkeley grad.?"           <dsiu@adobe.com>                |
\=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [current-time-string reports incorrect time]
  1997-01-20 23:40       ` Danny Siu
@ 1997-01-21  0:27         ` Justin Sheehy
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Sheehy @ 1997-01-21  0:27 UTC (permalink / raw)


>>>>> "DS" == Danny Siu <dsiu@Adobe.COM> writes:

DS> Thats' right!  I am in California *but* (current-time-zone) gives
DS> (1 "XXX") after I loaded rgnus!  (it was (-800 "PST") before rgnus
DS> is loaded)

I had exactly the same problem a while back. (well before the recent
versions of rgnus) I use Emacs, not XEmacs, and upgrading to 19.34
fixed the problem entirely.

I remember talking to Steve about this (regarding XEmacs), and the
strange part is that it looked like the relevant part of Emacs that
were fixed were identical to those in XEmacs, but XEmacs users still
occasionally see this behavior, while it is gone in Emacs 19.34.

But the literal "XXX" returned from (current-time-zone) makes me
pretty sure that this is the same bug, and that it is a bug in
whatever Emacs you are using, not in Gnus.

-Justin


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-01-21  0:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-17  2:40 [current-time-string reports incorrect time] Danny Siu
1997-01-17 16:19 ` [++] " Colin Rafferty
1997-01-18  1:23 ` Lars Magne Ingebrigtsen
1997-01-20 22:15   ` Danny Siu
1997-01-20 23:09     ` Rich Pieri
1997-01-20 23:40       ` Danny Siu
1997-01-21  0:27         ` Justin Sheehy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).