From: Gunnar Vestergaard <post@gunnar-pv.fo>
To: info-gnus-english@gnu.org
Subject: Re: Incorrect time zone setting
Date: Wed, 06 Jan 2010 23:28:23 +0100 [thread overview]
Message-ID: <hi32q7$l43$1@ger.gmane.org> (raw)
In-Reply-To: <87ljgbbnoy.fsf@marauder.physik.uni-ulm.de>
Reiner Steib wrote:
> 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?
This is from the raw headers in my message posted to a newsgroup:
Date: Mon, 04 Jan 2010 10:54:28 -0100
That above is the authentic raw output from GNUS.
And my time zone is really +0100.
>> 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.
My Windows XP is set to +0100 time zone which is in Berlin. That is
correct in my OS.
> (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)))
How do I evaluate this into an expression in Emacs? I don't know
anything about LISP.
next prev parent reply other threads:[~2010-01-06 22:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-05 15:20 Gunnar Vestergaard
2010-01-06 9:13 ` Reiner Steib
2010-01-06 22:28 ` Gunnar Vestergaard [this message]
2010-01-07 19:11 ` Reiner Steib
2010-01-21 20:22 ` Gunnar Vestergaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hi32q7$l43$1@ger.gmane.org' \
--to=post@gunnar-pv.fo \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).