From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Time zone trouble without time zones being involved Date: Wed, 13 Apr 2016 18:14:35 +0200 Message-ID: <87a8kxtris.fsf@web.de> References: <87shz3cjbo.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1460564119 1745 80.91.229.3 (13 Apr 2016 16:15:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2016 16:15:19 +0000 (UTC) Cc: Emacs mailing list To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 13 18:15:11 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 1aqNRf-0003I0-Cw for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Apr 2016 18:15:11 +0200 Original-Received: from localhost ([::1]:46659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqNRe-0002F0-CM for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Apr 2016 12:15:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqNRG-00027N-DN for help-gnu-emacs@gnu.org; Wed, 13 Apr 2016 12:14:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqNRA-0005cI-Uv for help-gnu-emacs@gnu.org; Wed, 13 Apr 2016 12:14:46 -0400 Original-Received: from mout.web.de ([212.227.17.11]:53621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqNRA-0005c3-MB for help-gnu-emacs@gnu.org; Wed, 13 Apr 2016 12:14:40 -0400 Original-Received: from drachen.dragon ([92.74.169.200]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0ML8X7-1aqeYG083d-000Hyb; Wed, 13 Apr 2016 18:14:37 +0200 In-Reply-To: (Yuri Khan's message of "Sun, 3 Apr 2016 12:43:40 +0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:A5OH+vO7QzntqbW/Nr7XoEHaYnl3kBe/Id+ABv0cQvgbwSYO7zv ty4wxKpAzUc6yqxwkTqln5R4HygagBeGp0k+MeZUkaPotVUZtgY+Ib9Lcca1PFH5gwG5MJB yIhODJABX18uNY0X+xpFbhBEgt+DqtJiE5foXGwjwReXQ6uETydvwuGqdfu/GzWRyvdnICs liWXAJovKkz0QjXDhal8Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:MKW1+Zrrhtk=:zQJ26rYSKCogCwLn8dq5OI /kVMQERnL4H9Guso2JwEqkIBcTpJUAacTX2Hhg3+ZNds4EIqlJITVNSJWToNV569qyMObNDI1 lA/yHl6nWDADPvHAOlquJFDmYa4yl6IY+/S1+P7zN9OFwpWkEVDIRMKgsj93y9snv1SpK2/z4 QvFcYDLd7obKV2qyCQHG4A90cxTbjh0mMvAlHKJ/6rXbpesCvk4qe5/bz8SxYyo7LeBJH1WBT Pq/Tzwc9qI3LJve8nCOBuHTdoDFpJUghi0IodKbxyJG6GTylCDitjm6qZh1/ugZLM4jk96b5S 4VtGnLb0LzELLNrNT4hNqyI0/cHYX6JxStEcZ1wloaVH9kOOl4yQnLFsoUMKaE8W8HYhYNe/4 B+KoX6W+KtsOGqCwLC0+oT5WHMS7ACiapezmYxp5GAx+HDO9aNRiy6lNqCLLqgQhvUOI3RJV8 U1MVt20y9A07KVW8T7s2893k6e450wMvQdJjYVn/UvEqLNpIS0/6P8ZO50DS4Bm+Kw8kUdf5b yZl+A4lCpY6AWIGGeTTHfsT377dNS5YkItmS+cjG0sYIf7k5EnKNhNW4XFOdtQi68Hyx/UW1z ezBqm6fxeADUk6PXuL3wQeMwSXAItrQ3VIBIy67OrwnQdRy43ABVoHbSLgGRInDhwb0weHaDA 3GKe3bVs8bKnLTxR3JZZ1wGyYaiLiA7rWB9SUUEHIeDvgmnw+0pcI+yz8s7yjpNTFE9hm08+Z rQQnzwqEA7Oem4AcKnfY3G9sqFsEtghoe96XZMVuD3PQlRf8cpr8CDmj5UU0aLJ1hyIwP5Jx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.11 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:109750 Archived-At: Hi Yuri, sorry for the delay... > Let=E2=80=99s determine which. Ok. > 1. Mark the current UTC time, both as a human-readable string and as a > unixtime value (e.g. on GNU, =E2=80=9Cdate --utc --rfc-3339=3Dseconds=E2= =80=9D and =E2=80=9Cdate > +%s=E2=80=9D, respectively). > 2. Make a commit. > 3. Execute the same command, =E2=80=9Cgit log --pretty=3Dformat:%ad > --date=3Dformat:%s -n1=E2=80=9D. > 4. Evaluate (current-time) and convert the first two elements of the > resulting 4-element list to unixtime. > 5. Check that the three unixtime values from steps 1, 3 and 4 are > reasonably close. I'm not sure how to do 4. However, 1. and 3. already give me a difference of ~ 60*60. What does this tell us? > 6. By the way, which OS are you on? uname -a =3D> "Linux drachen 4.4.0-1-amd64 #1 SMP Debian 4.4.6-1 (2016-03-17) x86_64 GNU/Linux". Mostly Debian testing. Thanks, Michael.