From debbugs-submit-bounces@debbugs.gnu.org Mon May 14 11:28:27 2018 Received: (at submit) by debbugs.gnu.org; 14 May 2018 15:28:28 +0000 Received: from localhost ([127.0.0.1]:34536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIFOl-0004n1-G7 for submit@debbugs.gnu.org; Mon, 14 May 2018 11:28:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIEor-0003q9-9d for submit@debbugs.gnu.org; Mon, 14 May 2018 10:51:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIEok-0008IY-ON for submit@debbugs.gnu.org; Mon, 14 May 2018 10:51:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIEok-0008IT-Ko for submit@debbugs.gnu.org; Mon, 14 May 2018 10:51:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIEoi-000375-Lt for bug-gnu-emacs@gnu.org; Mon, 14 May 2018 10:51:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIEoh-0008HF-CO for bug-gnu-emacs@gnu.org; Mon, 14 May 2018 10:51:12 -0400 Received: from mail-vk0-x22d.google.com ([2607:f8b0:400c:c05::22d]:42750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIEoh-0008Gm-5x for bug-gnu-emacs@gnu.org; Mon, 14 May 2018 10:51:11 -0400 Received: by mail-vk0-x22d.google.com with SMTP id j7-v6so7665349vkc.9 for ; Mon, 14 May 2018 07:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=esm9s1AxjfZpvNPTaQlVtMZSuO4KL1zh6Kirij///NY=; b=KGWoyNhadHacj+AoeLdjYSFexVjzB8RH5KhAguxJVmwbToI9Z73RHkTkJ8mFFD+bj1 yUPjAbdbsbJ2bGREYjYpD2mpzsFC7YYqh9Y8mksa5l3NrW1QBdCyB2uSv7SmSOF+ZSgf 17ZQdRd/3xktewWwjEavdahirrtwoLed1YDgMh5XNlwIa3kJ3V3SPMKLZ65fb5ZTOZOl v6kIilQJc2UaTC68zT1QvPUyaMjE0P5CJc7o/crChG04LuJ2AS0/C+z/nMH9Je3qT7Ng W8lheubiR+8SBM7lxRUClxLRx79G5+Q+0dk4/b3Ltlzdur7nYUmHZBfW/Sh+5qQ5S/E4 hhvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=esm9s1AxjfZpvNPTaQlVtMZSuO4KL1zh6Kirij///NY=; b=gERtNfkZKdAS2VAUVXlQqgWgLsg/k3pV7IASZomUtIKTZuF0EexdGZNupeQmt1wiBl N1VMssFXlZ6jCwAtj56AKmeSvCYWs7AxH8+lCsLBagv9CAyqn3Cxv4N3cYJL63qwa6va yxSPD/XFfvmt0MTGJQUqShWLtOtrmM8x2CpaTE4a9uf1Ihgw20lQZyvihgmOzoalHtfT fjkhJbirK3KDccs6tXuXrdNE5cq+WMmJBQY0Aqfii/hS08+b9HeLeB+ByxDzeAiLMLoC iG3a8IL4RUjr/Q2ZuiRVMZ0ZcrKzOZm55PeVnf5bIgqz59VPfPjBWURb64/VuEHHmFUX XW2g== X-Gm-Message-State: ALKqPwfKHHWXut6N7fxI7AzN0KeLl5SSeXwiqNUSyH4e/4z+qE7mGab8 w2bbyNIxWfhKJ0kGZZaDkI//njcd5rSYIe35mX41rA== X-Google-Smtp-Source: AB8JxZoOHTNt9nOp7aS4qKb7V7ebTJqjRR85df74M0ZxEiSkwAZd5ISF4IaIPgBvct6tOu5mHeSIMeT34UMaNNfkzFQ= X-Received: by 2002:a1f:830b:: with SMTP id f11-v6mr11112592vkd.152.1526309470318; Mon, 14 May 2018 07:51:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.72.68 with HTTP; Mon, 14 May 2018 07:51:09 -0700 (PDT) In-Reply-To: References: From: e step Date: Mon, 14 May 2018 10:51:09 -0400 Message-ID: Subject: Re: emacs 25.3; timezone handling broken To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000cbb3cc056c2b9d4a" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 May 2018 11:28:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --000000000000cbb3cc056c2b9d4a Content-Type: text/plain; charset="UTF-8" After further investigation, I think this is due to a deeper issue in glibc (see https://stackoverflow.com/questions/47563103/why-datetime-now-and-datetime-today-show-time-in-utc-and-not-local-time-on-m/50333163#50333163 ). So probably this is not the fault of emacs but emacs may want to work around this issue until it gets fixed in glibc. On Mon, May 14, 2018 at 10:36 AM, e step wrote: > > 1. I installed emacs 25.3_1 for Windows > 2. From cygwin shell, I did "/c/emacs25/emacs-25.3_1-x86_64/bin/emacs.exe > -Q" > 3. Within emacs, I did M-: (getenv "TZ") which returned "America/New > York". > 4. Within emacs, I did M-: (current-time-string) > 5. The resulting time is using incorrect time zone. > 6. Inside cygwin, I did "export TZ=" to unset the TZ variable. > 7. Within emacs, I did M-: (getenv "TZ") which returned nil. > 8. Within emacs, I did M-: (current-time-string) to get correct time. > > My work around is to not set the TZ variable which is doable but not > desirable. > > > > In GNU Emacs 25.3.1 (x86_64-w64-mingw32) > of 2017-09-26 built on LAPHROAIG > Windowing system distributor 'Microsoft Corp.', version 10.0.17134 > Configured using: > 'configure --without-dbus --without-compress-install 'CFLAGS=-O2 > -static -g3' PKG_CONFIG_PATH=/mingw64/lib/pkgconfig' > > Configured features: > XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB > TOOLKIT_SCROLL_BARS > > Important settings: > value of $LANG: en_US.UTF-8 > locale-coding-system: cp1252 > > Major mode: Lisp Interaction > > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > "America/New_York" > Quit > "Mon May 14 15:28:21 2018" > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu > cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util > tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type > mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win > tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment > elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer > select scroll-bar mouse jit-lock font-lock syntax facemenu font-core > frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan > thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian > slovak czech european ethiopic indian cyrillic chinese charscript > case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer > cl-preloaded nadvice loaddefs button faces cus-face macroexp files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote w32notify w32 multi-tty > make-network-process emacs) > > Memory information: > ((conses 16 88765 5870) > (symbols 56 19651 0) > (miscs 48 44 85) > (strings 32 15897 4470) > (string-bytes 1 440523) > (vectors 16 11730) > (vector-slots 8 424140 5367) > (floats 8 159 44) > (intervals 56 236 56) > (buffers 976 19)) > > --000000000000cbb3cc056c2b9d4a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After further investigation, I think this is due to a deep= er issue in glibc (see=C2=A0https://stackoverflow.com/questions/47563103/= why-datetime-now-and-datetime-today-show-time-in-utc-and-not-local-time-on-= m/50333163#50333163).

So probably this is not the fa= ult of emacs but emacs may want to work around this issue until it gets fix= ed in glibc.

On Mon, May 14, 2018 at 10:36 AM, e step <etelepr@gmail.com> wrote:

=
=C2=A0 1. I installed emacs 25.3_1 for Windows
=C2=A0 2. Fro= m cygwin shell, I did "/c/emacs25/emacs-25.3_1-x86_64/bin/emacs.e= xe -Q"
=C2=A0 3. Within emacs, I did M-: (getenv "TZ&qu= ot;) which returned "America/New York".
=C2=A0 4. Withi= n emacs, I did M-: (current-time-string)
=C2=A0 5. The resulting = time is using incorrect time zone.
=C2=A0 6. Inside cygwin, I did= "export TZ=3D" to unset the TZ variable.
=C2=A0 7. Wit= hin emacs, I did M-: (getenv "TZ") which returned nil.
= =C2=A0 8. Within emacs, I did M-: (current-time-string) to get correct time= .

My work around is to not set the TZ variable whi= ch is doable but not desirable.=C2=A0



In GNU Emacs 25.3.1 (x86_64-w64-mingw32)
=C2=A0= of 2017-09-26 built on LAPHROAIG
Windowing system distributor = 9;Microsoft Corp.', version 10.0.17134
Configured using:
=C2=A0'configure --without-dbus --without-compress-install 'C= FLAGS=3D-O2
=C2=A0-static -g3' PKG_CONFIG_PATH=3D/mingw64/lib= /pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: = cp1252

Major mode: Lisp Interaction

=
Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t<= /div>
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-= mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mar= k-mode: t

Recent messages:
For informati= on about GNU Emacs and the GNU system, type C-h C-a.
"Americ= a/New_York"
Quit
"Mon May 14 15:28:21 2018&qu= ot;

Load-path shadows:
None found.
=

Features:
(shadow sort mail-extr emacsbug mes= sage dired format-spec rfc822 mml
mml-sec password-cache epg epg-= config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231= mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-dr= ums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib = mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric = uniquify ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 ls-li= sp disp-table w32-win w32-vars term/common-win
tool-bar dnd fonts= et image regexp-opt fringe tabulated-list newcomment
elisp-mode l= isp-mode prog-mode register page menu-bar rfn-eshadow timer
selec= t scroll-bar mouse jit-lock font-lock syntax facemenu font-core
f= rame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
=
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romani= an
slovak czech european ethiopic indian cyrillic chinese charscr= ipt
case-table epa-hook jka-cmpr-hook help simple abbrev minibuff= er
cl-preloaded nadvice loaddefs button faces cus-face macroexp f= iles
text-properties overlay sha1 md5 base64 format env code-page= s mule
custom widget hashtable-print-readable backquote w32notify= w32 multi-tty
make-network-process emacs)

Memory information:
((conses 16 88765 5870)
=C2=A0(s= ymbols 56 19651 0)
=C2=A0(miscs 48 44 85)
=C2=A0(string= s 32 15897 4470)
=C2=A0(string-bytes 1 440523)
=C2=A0(v= ectors 16 11730)
=C2=A0(vector-slots 8 424140 5367)
=C2= =A0(floats 8 159 44)
=C2=A0(intervals 56 236 56)
=C2=A0= (buffers 976 19))


--000000000000cbb3cc056c2b9d4a-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 14 11:48:23 2018 Received: (at 31453) by debbugs.gnu.org; 14 May 2018 15:48:24 +0000 Received: from localhost ([127.0.0.1]:34576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIFi3-0005Jk-O2 for submit@debbugs.gnu.org; Mon, 14 May 2018 11:48:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIFi1-0005JP-HX for 31453@debbugs.gnu.org; Mon, 14 May 2018 11:48:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIFhv-0002Uf-Na for 31453@debbugs.gnu.org; Mon, 14 May 2018 11:48:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIFhm-0002RS-4T; Mon, 14 May 2018 11:48:06 -0400 Received: from [176.228.60.248] (port=4826 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fIFhl-000655-3v; Mon, 14 May 2018 11:48:05 -0400 Date: Mon, 14 May 2018 18:48:10 +0300 Message-Id: <83bmdikzlx.fsf@gnu.org> From: Eli Zaretskii To: e step In-reply-to: (message from e step on Mon, 14 May 2018 10:51:09 -0400) Subject: Re: bug#31453: emacs 25.3; timezone handling broken References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31453 Cc: 31453@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) merge 31453 31452 thanks > From: e step > Date: Mon, 14 May 2018 10:51:09 -0400 > > After further investigation, I think this is due to a deeper issue in glibc (see > https://stackoverflow.com/questions/47563103/why-datetime-now-and-datetime-today-show-time-in-utc-and-not-local-time-on-m/50333163#50333163). No, glibc cannot have anything to do with this, because neither Cygwin nor the Windows build of Emacs use glibc. From debbugs-submit-bounces@debbugs.gnu.org Fri May 18 15:49:26 2018 Received: (at control) by debbugs.gnu.org; 18 May 2018 19:49:26 +0000 Received: from localhost ([127.0.0.1]:40214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJlNW-0002sz-MD for submit@debbugs.gnu.org; Fri, 18 May 2018 15:49:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJlNV-0002sk-2M for control@debbugs.gnu.org; Fri, 18 May 2018 15:49:25 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJlNP-000893-QP for control@debbugs.gnu.org; Fri, 18 May 2018 15:49:19 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1fJlNP-0000Kd-Gc for control@debbugs.gnu.org; Fri, 18 May 2018 15:49:19 -0400 Subject: control message for bug 31452 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 18 May 2018 15:49:19 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) tag 31452 + wontfix close 31452 From unknown Mon Jun 23 04:11:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Jun 2018 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator