From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18439 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: bug: negative time zones again Date: 07 Nov 1998 23:43:13 -0500 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2n7lx66bha.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156964 6182 80.91.224.250 (20 Oct 2002 23:36:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:36:04 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id XAA25513 for ; Sat, 7 Nov 1998 23:36:29 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id WAB11935; Sat, 7 Nov 1998 22:36:04 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 07 Nov 1998 22:35:55 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id WAA01966 for ; Sat, 7 Nov 1998 22:35:45 -0600 (CST) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id XAA25477 for ; Sat, 7 Nov 1998 23:35:39 -0500 (EST) Original-Received: from slate.cs.rochester.edu (slate.cs.rochester.edu [192.5.53.101]) by cayuga.cs.rochester.edu (8.6.9/O) with ESMTP id XAA07781 for ; Sat, 7 Nov 1998 23:35:37 -0500 Original-Received: from brain.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id XAA16708 for ; Sat, 7 Nov 1998 23:35:35 -0500 Original-Received: (from zsh@localhost) by brain.cs.rochester.edu (8.9.0/8.8.5) id XAA01536; Sat, 7 Nov 1998 23:43:13 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q Original-Lines: 52 User-Agent: Gnus/5.070041 (Pterodactyl Gnus v0.41) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18439 > From: Karl Kleinpaste > Subject: p0.41 MIME error > To: ding@gnus.org > Date: 07 Nov 1998 22:05:51 -500 > From: Michael R Cook > Subject: > To: ding@gnus.org > Date: 07 Nov 1998 14:51:34 -500 > From: Stainless Steel Rat > Subject: Re: pop password > To: "(ding)" > Date: 07 Nov 1998 08:26:36 -500 > Mail-Copies-To: never > Organization: The Happy Fun Ball Brigade See, negative time zones are shown as "-500" instead of "-0500" as other mailers (including at least gnus 5.5) do. Lars fixed sign for negative time zones in v0.28, but not completely. A patch is attached. -- Shenghuo :- cut ------ --- ChangeLog 1998/11/08 04:03:45 1.1 +++ ChangeLog 1998/11/08 04:08:20 @@ -1,3 +1,7 @@ +Sat Nov 7 23:07:24 1998 Shenghuo ZHU + + * message.el (message-make-date): Fix for negative time zones. + Sun Nov 8 01:00:16 1998 Lars Magne Ingebrigtsen * gnus.el: Pterodactyl Gnus v0.41 is released. --- message.el 1998/11/08 04:03:18 1.1 +++ message.el 1998/11/08 04:05:04 @@ -2644,7 +2644,8 @@ (zone (nth 8 (decode-time now))) (sign "+")) (when (< zone 0) - (setq sign "")) + (setq sign "-") + (setq zone (- zone))) (concat (format-time-string "%d" now) ;; The month name of the %b spec is locale-specific. Pfff.