From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Time zone trouble without time zones being involved Date: Mon, 16 May 2016 22:06:08 +0600 Message-ID: References: <87shz3cjbo.fsf@web.de> <87a8kxtris.fsf@web.de> <87k2k1h1ka.fsf@web.de> <87a8js8oa8.fsf@web.de> <877feu57iq.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1463415279 1126 80.91.229.3 (16 May 2016 16:14:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 May 2016 16:14:39 +0000 (UTC) Cc: Emacs mailing list To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 16 18:14:39 2016 Return-path: Envelope-to: geh-help-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 1b2L9x-0007xu-1B for geh-help-gnu-emacs@m.gmane.org; Mon, 16 May 2016 18:14:21 +0200 Original-Received: from localhost ([::1]:44767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2L9w-0008Jy-An for geh-help-gnu-emacs@m.gmane.org; Mon, 16 May 2016 12:14:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2L2N-0006Qw-3Z for help-gnu-emacs@gnu.org; Mon, 16 May 2016 12:06:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2L2M-0004pG-4m for help-gnu-emacs@gnu.org; Mon, 16 May 2016 12:06:30 -0400 Original-Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:34694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2L2L-0004oy-O5 for help-gnu-emacs@gnu.org; Mon, 16 May 2016 12:06:30 -0400 Original-Received: by mail-lf0-x242.google.com with SMTP id m101so14992947lfi.1 for ; Mon, 16 May 2016 09:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=MB/RbK6Y258wAmgFqzIaSvSTMpARdHwSDxFq8jd5iIg=; b=T7JFydI8QVcnbA1rmk50QQXYF+l4IHoO47lIIfC4BMVOWSI2978nR6FkJjLy8dqGbi r6P/djqPBuwbpa9DM02oYyZllYESrFHibIZqyfRqp2CwBbJ3u3szurIDfUgSh4X1KsgO KHbhDJee3FGL67swdGdzmcG/eFTvxL1xD6WGNL2SxnZeosWJ+cw6ZlKkOVeyfR84SiC/ EreZRMOBzx9TK9QiziAM8bj3ADM9HsAmfp2nxuiQNeSpJsavrBr8+/8L6rl55UtaO5/H KKpk0etnIRMSZReDf76Fz7YxjbGlgiZvW3RePycyYd9YEsbhsIkxA2KRrvXzdKvSCTOH ItFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=MB/RbK6Y258wAmgFqzIaSvSTMpARdHwSDxFq8jd5iIg=; b=AbvqyhLtlhigWAR4hHsTlfhSJQWRtGeWJAKgPhcjnG1WyvHe4s5idNQ5uiLemivj3Q snKWbmPRnE0M4SqaI25LS/KUw37UyBKWzexn3YEcK2Ah4+Qt3HbNkW1r8VHpWSssDYr8 d/mwJRUdrGA1gLmqZDVrDU1NFD3HeNN2FbwfYVk2SlwHZJZHE03roxVxlNe0N7q7KDak s6K0zIe+uZcR3F12IBWuNMilduX2GOTrJPgEqOxjnGLrJUjYpJxZyscQh0cb/BQ7V4cb wihk038FLX3FEXQ8QSjkZPwySfgqXmE+vDFPPtjdcozgi7CiQiau/qMArQ7k4+B5PJfL Qm/A== X-Gm-Message-State: AOPr4FUKgzRmkD5OVedvpyiNxEYgBXF7kFU+uzqz3UxcY6Z3lHipIpv5wEalNhn9DmbGuXCsuFMcshUMaw1WUQ== X-Received: by 10.25.29.18 with SMTP id d18mr10554136lfd.26.1463414788531; Mon, 16 May 2016 09:06:28 -0700 (PDT) Original-Received: by 10.112.60.138 with HTTP; Mon, 16 May 2016 09:06:08 -0700 (PDT) In-Reply-To: <877feu57iq.fsf@web.de> X-Google-Sender-Auth: XJ9kSW18xv6x3F_IMLgC8LpQD3I X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::242 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109974 Archived-At: On Mon, May 16, 2016 at 9:47 PM, Michael Heerdegen wrote: > | bash-4.3:micha:test-repo$ git log --pretty=format:%ad --date=format:%s -n1 > | 1463254759 > | bash-4.3:micha:test-repo$ git cat-file commit HEAD > | tree 45b5897f752b636a5dc6d101cb2a14dba4751cd0 > | parent c56aab0f0de7335ffd579702b987e67ce0680af8 > | author Michael Heerdegen 1463251159 +0200 > | committer Michael Heerdegen 1463251159 +0200 So, for the time being, as a workaround, you can use something like "git cat-file commit HEAD | sed -nr 's/^author .* ([0-9]+) [-+][0-9]+$/\1/p; t'" to get the UTC timestamp from the last commit.