all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ken Brown <kbrown@cornell.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Time zone problem in cygwin
Date: Thu, 05 Feb 2009 22:38:58 +0200	[thread overview]
Message-ID: <utz78ty8t.fsf@gnu.org> (raw)
In-Reply-To: <498AFBE4.2070906@cornell.edu>

> Date: Thu, 05 Feb 2009 09:47:00 -0500
> From: Ken Brown <kbrown@cornell.edu>
> 
>     http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00532.html
> 
> Eli Zaretskii replied and asked for the value of (format-time-string 
> "%Y-%m-%d %T %z").   The OP never responded, but the answer for me is 
> the following:  emacs 23 incorrectly reports 2009-02-05 13:35:36 -0100, 
> whereas emacs 22.3 correctly gives 2009-02-05 09:36:13 -0500 a few 
> seconds later.  One further detail:  emacs 23 gives the right time if I 
> set TZ=America/New_York prior to starting emacs; but my understanding is 
> that it's not supposed to be necessary to set TZ.

Unfortunately, I don't have Cygwin installed, so I'm forced to ask
you: can you please step through format-time-string in both Emacs 22.3
and Emacs 23, and see where does the difference come from?

Btw, were both binaries compiled with the same versions of the Cygwin
runtime libraries?




  reply	other threads:[~2009-02-05 20:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 14:47 Time zone problem in cygwin Ken Brown
2009-02-05 20:38 ` Eli Zaretskii [this message]
2009-02-05 22:36   ` Ken Brown
2009-02-06  6:24     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2009-02-06 16:29 Angelo Graziosi
2009-02-06 16:50 ` Ken Brown
2009-02-06 17:40 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=utz78ty8t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kbrown@cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.