* bug: negative time zones again
@ 1998-11-08 4:43 Shenghuo ZHU
0 siblings, 0 replies; only message in thread
From: Shenghuo ZHU @ 1998-11-08 4:43 UTC (permalink / raw)
> From: Karl Kleinpaste <karl@jprc.com>
> Subject: p0.41 MIME error
> To: ding@gnus.org
> Date: 07 Nov 1998 22:05:51 -500
> From: Michael R Cook <cook@clearviewtech.com>
> Subject: <blah blah>
> To: ding@gnus.org
> Date: 07 Nov 1998 14:51:34 -500
> From: Stainless Steel Rat <ratinox@peorth.gweep.net>
> Subject: Re: pop password
> To: "(ding)" <ding@gnus.org>
> 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 <zsh@cs.rochester.edu>
+
+ * message.el (message-make-date): Fix for negative time zones.
+
Sun Nov 8 01:00:16 1998 Lars Magne Ingebrigtsen <larsi@menja.ifi.uio.no>
* 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-11-08 4:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-08 4:43 bug: negative time zones again Shenghuo ZHU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).