[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect time zone setting

From: Reiner Steib
Subject: Re: Incorrect time zone setting
Date: Wed, 06 Jan 2010 10:13:49 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux)

On Tue, Jan 05 2010, Gunnar Vestergaard wrote:

> When I post an article in Emacs/gnus, the Date header is set incorrectly. The
> time zone appears as -0100, whereas I am located in the time zone +0100. 

I'm not sure if you really mean "displayed incorrectly" or "generated
incorrectly".  How (where) did you check?

> How do I correct that?

I'm quite sure that Gnus (message.el) doesn't do anything incorrect
here, since the defun is pretty simple and doesn't frob timezone data.
Maybe you OS returns bogus data.

(defun message-make-date (&optional now)
  "Make a valid data header.
If NOW, use that time instead."
  (let ((system-time-locale "C"))
    (format-time-string "%a, %d %b %Y %T %z" now)))

> I use Emacs 23.1.1 / gnus on Cygwin/X software.

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]