unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* display-time-mode resets current time zone to  GMT
@ 2012-12-31 11:51 Li Feng
  2012-12-31 12:45 ` Xue Fuqiao
  0 siblings, 1 reply; 4+ messages in thread
From: Li Feng @ 2012-12-31 11:51 UTC (permalink / raw)
  To: emacs-devel

Hi folks,

I notice a weird bug after updating my Emacs to latest trunk.

Steps to reproduce:

1. Launch Emacs with "Emacs -q"
2. eval "(current-time-zone)" and get "(39600 "AUS Eastern Daylight Time")",
which is correct.
3. M-x display-time-mode
4. eval "(current-time-zone)" again and now I get "(-3600 "GMT")". After this, 
format-time-string and display-time-mode also shows incorrect local time.

The above bug is observed on MS Windows 7 x64.





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

* Re: display-time-mode resets current time zone to  GMT
  2012-12-31 11:51 display-time-mode resets current time zone to GMT Li Feng
@ 2012-12-31 12:45 ` Xue Fuqiao
  2012-12-31 12:50   ` Li Feng
  0 siblings, 1 reply; 4+ messages in thread
From: Xue Fuqiao @ 2012-12-31 12:45 UTC (permalink / raw)
  To: Li Feng; +Cc: emacs-devel

On Mon, 31 Dec 2012 11:51:41 +0000 (UTC)
Li Feng <fengli@gmail.com> wrote:

> I notice a weird bug after updating my Emacs to latest trunk.
You can report bugs using `report-emacs-bug'.

> The above bug is observed on MS Windows 7 x64.
I cannot reproduce it in the latest trunk and the Emacs pretest 24.2.91: 

(current-time-zone) => (28800 "CST")

GNU Emacs 24.2.91.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13) of 2012-12-28 on Emacs

and 

GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13)
 of 2012-12-31 on Emacs

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



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

* Re: display-time-mode resets current time zone to  GMT
  2012-12-31 12:45 ` Xue Fuqiao
@ 2012-12-31 12:50   ` Li Feng
  2012-12-31 16:10     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Li Feng @ 2012-12-31 12:50 UTC (permalink / raw)
  To: emacs-devel

Xue Fuqiao <xfq.free <at> gmail.com> writes:

> 
> I cannot reproduce it in the latest trunk and the Emacs pretest 24.2.91: 
> GNU Emacs 24.2.91.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13) of 2012-12-28
on Emacs
> and 
> GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13)
>  of 2012-12-31 on Emacs

Right, so this is likely to be a w32 only issue.





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

* Re: display-time-mode resets current time zone to  GMT
  2012-12-31 12:50   ` Li Feng
@ 2012-12-31 16:10     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2012-12-31 16:10 UTC (permalink / raw)
  To: Li Feng; +Cc: emacs-devel

> From: Li Feng <fengli@gmail.com>
> Date: Mon, 31 Dec 2012 12:50:10 +0000 (UTC)
> 
> Xue Fuqiao <xfq.free <at> gmail.com> writes:
> 
> > 
> > I cannot reproduce it in the latest trunk and the Emacs pretest 24.2.91: 
> > GNU Emacs 24.2.91.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13) of 2012-12-28
> on Emacs
> > and 
> > GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.13)
> >  of 2012-12-31 on Emacs
> 
> Right, so this is likely to be a w32 only issue.

That was my bad, sorry.  Should be fixed now.



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

end of thread, other threads:[~2012-12-31 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-31 11:51 display-time-mode resets current time zone to GMT Li Feng
2012-12-31 12:45 ` Xue Fuqiao
2012-12-31 12:50   ` Li Feng
2012-12-31 16:10     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).