On 2018-01-08 02:10 +01, Emanuel Berg <[email protected]> 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
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english