From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: info-gnus-english@gnu.org
Subject: Re: How to set the default timezone for messages being sent?
Date: Mon, 08 Jan 2018 08:22:26 +0300 [thread overview]
Message-ID: <ygmzi5odiwd.fsf@gkayaalp.com> (raw)
In-Reply-To: <86zi5prw87.fsf@zoho.com> (Emanuel Berg's message of "Mon, 08 Jan 2018 02:10:48 +0100")
On 2018-01-08 02:10 +01, Emanuel Berg <moasen@zoho.com> wrote:
> Kayaalp wrote:
>
>> You can change the TZ variable in Emacs like:
>>
>> (setenv "TZ" "Europe/London")
>>
>> it works for me. I guess you can make
>> a function like this (example in pseudo-code)
>
> Better to do this in the shell's environment
> file, e.g. ~/.zshenv for zsh:
Certainly, but AFAIU the OP wants to modify the timezone temporarily to
have a ‘Date:’ header in a certain timezone, different from his default
one, when sending some particular messages.
> export TZ='Europe/Stockholm'
>
> You can pass this to a tool without setting it
> system-wide like this, for example if your wife
> has run off with you lawer and now lives in LA:
>
> la-time () {
> TZ="America/Los_Angeles" date
> }
--
İ. Göktuğ Kayaalp <http://www.gkayaalp.com/>
024C 30DD 597D 142B 49AC
40EB 465C D949 B101 2427
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
prev parent reply other threads:[~2018-01-08 5:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-05 22:52 Bahodir Mansurov
2018-01-06 16:39 ` Eric Abrahamsen
2018-01-07 23:55 ` Bob Newell
2018-01-08 0:42 ` Göktuğ Kayaalp
2018-01-08 1:10 ` Emanuel Berg
2018-01-08 5:22 ` Göktuğ Kayaalp [this message]
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=ygmzi5odiwd.fsf@gkayaalp.com \
--to=self@gkayaalp.com \
--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).