From a062eae80b510492c03cc20fe3cbff8e7b931f25 Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Mon, 7 Sep 1998 03:06:04 +0000 Subject: [PATCH] (nnmail-date-to-time): Use current timezone if `date' does not contain timezone info. --- lisp/nnmail.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/nnmail.el b/lisp/nnmail.el index bc8d1f5..eb068b5 100644 --- a/lisp/nnmail.el +++ b/lisp/nnmail.el @@ -532,7 +532,8 @@ parameter. It should return nil, `warn' or `delete'." (aref t1 2) (aref t1 1) (aref t1 0) (aref d1 2) (aref d1 1) (aref d1 0) (number-to-string - (* 60 (timezone-zone-to-minute (aref d1 4)))))))) + (* 60 (timezone-zone-to-minute + (or (aref d1 4) (current-time-zone))))))))) ;; If we get an error, then we just return a 0 time. (error (list 0 0)))) -- 1.7.10.4