From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#22302: 25.1.50; time-stamp ignores time-stamp-time-zone Date: Tue, 12 Jan 2016 13:29:23 -0800 Organization: UCLA Computer Science Department Message-ID: <56957033.6090304@cs.ucla.edu> References: <3tziwb4dgz.fsf@fencepost.gnu.org> <56953489.20700@cs.ucla.edu> <2hd1t63d2d.fsf@fencepost.gnu.org> <56955FBE.70806@cs.ucla.edu> <83wpreiksc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1452634227 32542 80.91.229.3 (12 Jan 2016 21:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2016 21:30:27 +0000 (UTC) Cc: 22302@debbugs.gnu.org, hanche@math.ntnu.no To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 12 22:30:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJ6W4-0004gj-4z for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jan 2016 22:30:12 +0100 Original-Received: from localhost ([::1]:34176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJ6W3-0007su-Jm for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jan 2016 16:30:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJ6W0-0007sX-3k for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 16:30:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJ6Vv-0007YV-4b for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 16:30:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJ6Vv-0007Y0-0z for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 16:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aJ6Vu-0004kG-Mv for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 16:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2016 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22302-submit@debbugs.gnu.org id=B22302.145263417218177 (code B ref 22302); Tue, 12 Jan 2016 21:30:02 +0000 Original-Received: (at 22302) by debbugs.gnu.org; 12 Jan 2016 21:29:32 +0000 Original-Received: from localhost ([127.0.0.1]:47599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aJ6VQ-0004j6-Lo for submit@debbugs.gnu.org; Tue, 12 Jan 2016 16:29:32 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59302) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aJ6VP-0004it-Ca for 22302@debbugs.gnu.org; Tue, 12 Jan 2016 16:29:31 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C16CA1606D6; Tue, 12 Jan 2016 13:29:24 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id XmmyVYW9RcB4; Tue, 12 Jan 2016 13:29:24 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1357F160819; Tue, 12 Jan 2016 13:29:24 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id L2kPuR-1fF-K; Tue, 12 Jan 2016 13:29:23 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id EE1941601E7; Tue, 12 Jan 2016 13:29:23 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: <83wpreiksc.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111564 Archived-At: On 01/12/2016 12:51 PM, Eli Zaretskii wrote: >> don't know what MS-Windows does with TZ="UTC" > Nothing. It doesn't understand that. The MS-Windows time routines > need an explicit offset from UTC to be able to account for the > timezone. So unless you say UTC-0, nothing will happen. In that case I'm a bit puzzled. Before today, lines like this: # time-stamp-time-zone: "UTC" appeared in files like build-aux/gitlog-to-changelog. Emacs implements these lines by temporarily setting the TZ environment variable to "UTC". If that setting is ineffective on MS-Windows, presumably any relevant time stamps were generated in local time instead, which is not wanted. Perhaps no MS-Windows users noticed, or none of them bothered to file a bug report. Or perhaps "nothing will happen" means "no offset from UTC will be applied", which means that unrecognized TZ settings act like UTC; this is what tzcode does. Or it could be something else, though I don't know what.