From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#44566: 27.1; time bug at Gnus Date: Wed, 11 Nov 2020 12:57:54 +0100 Message-ID: <87wnysaywt.fsf@gnus.org> References: <875z6cdxor.fsf@gnus.org> <87a6vocfh8.fsf@gnus.org> <87tutwqfuu.fsf@news.klingenberg.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12622"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44566@debbugs.gnu.org To: "Peder O. Klingenberg" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 11 12:59:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcomL-000388-9I for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Nov 2020 12:59:09 +0100 Original-Received: from localhost ([::1]:34908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcomJ-0005N1-Sh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Nov 2020 06:59:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcomE-0005Mu-1H for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 06:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcomD-0003Fn-Nw for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 06:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcomD-0007p4-MT for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 06:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Nov 2020 11:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44566 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44566-submit@debbugs.gnu.org id=B44566.160509588930003 (code B ref 44566); Wed, 11 Nov 2020 11:59:01 +0000 Original-Received: (at 44566) by debbugs.gnu.org; 11 Nov 2020 11:58:09 +0000 Original-Received: from localhost ([127.0.0.1]:40442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcolM-0007nr-OC for submit@debbugs.gnu.org; Wed, 11 Nov 2020 06:58:08 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:36816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcolK-0007nN-BS for 44566@debbugs.gnu.org; Wed, 11 Nov 2020 06:58:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hTjAY+Leqw/ORAqvlvW6uDPPsbGcAtC+ZXDhyo/ZhYE=; b=Qb5YqoPsyq515YtqZ7dZKWl70D Tn7wO6nE2JtzZ8eOmL3zHJzq8PQnqelv6MC1YWcEChP7v+Cwe77y0zGWEyuIAF1wvgxONtsBt8TQ6 5jwyKavL9L3vNoN904WAJ8njscmzPSWCYLEQMk/L+oHFbXMB6onVaEwUbWUb7aSJB3Y4=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcol9-0001U8-O2; Wed, 11 Nov 2020 12:58:00 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEUIBgsjGBYwKy9I NzFZQy5iTjdjWEweGCAiGyNSTVBiXmBBPEH////RPbNfAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+QL CwsNHTstuFEAAAC6SURBVDjL5VKxEcIwDHSn2kwASpOjomADdmADep2bd5lLYzNC2ABKJsR2GUsN cDSo/Lf+X/k418Z7vzmeL6edd/82RPI1KSGTMnAYzFuhYCczKMpCSoAgc3RxWsPirvf947Ysh845 MD955KnXQmLWzQfmUcMlGES7ULuEAGTpsLaR03qlvkYqdC8FREA0C6lb0uO1KK1CqjZai81d3QDU lopzkVG8q4gWyf7bfjXlePUjujBHHrcfKL8AaZUtuvawg7kAAAAldEVYdGRhdGU6Y3JlYXRlADIw MjAtMTEtMTFUMTE6MTM6MjkrMDA6MDAqSpmgAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTExLTEx VDExOjEzOjI5KzAwOjAwWxchHAAAAABJRU5ErkJggg== X-Now-Playing: KiTsuNe and Brian the Fox's _The Future Eve_: "(untitled)" In-Reply-To: <87tutwqfuu.fsf@news.klingenberg.no> (Peder O. Klingenberg's message of "Wed, 11 Nov 2020 12:42:49 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193095 Archived-At: "Peder O. Klingenberg" writes: > On on., 2020-11-11 kl. 12.14 +0100 +0100, Lars Ingebrigtsen wrote: > >> Perhaps it'd be better if you described precisely what you think the >> problem is (by giving us example Date headers) instead of posting >> screenshots and asking us to guess what you think the problem is? > > Seems obvious to me. Two screenshots, taken 30-ish seconds apart. In > the first, an archive copy of a message, with a Date header like so: > > Date: Wed, 11 Nov 2020 11:18:55 +0900 (22 minutes, 6 seconds ago) > > Second, the NNTP edition of the same message, with a date header like > this: > > Date: Wed, 11 Nov 2020 03:18:55 CET (8 hours, 22 minutes, 37 seconds ago) > > The second timestamp is transposed to CET, but describes the same point > in time as the first. The thing between the parenthesis, calculated by > gnus, should therefore obviously be the same, modulo the seconds between > the screenshots. It's not. The difference is the same as the > difference between time zones +0900 and CET, so it's not unlikely that > somewhere Gnus drops the TZ information. Thanks for the explanation. `article-make-date-line' basically calls date-to-time on the header and then formats the "lapsed" bit: (date-to-time "Wed, 11 Nov 2020 03:18:55 CET") => (24491 18959) (date-to-time "Wed, 11 Nov 2020 11:18:55 +0900") => (24491 18959) which is in the local time zone. It then calls (article-lapsed-string '(24491 18959) 3) => "9 hours, 36 minutes, 55 seconds ago" Byung-Hee, do you get something differing results if you eval (with `C-x C-e', for instance) the forms above? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no