info-gnus-english
[Top][All Lists]
Advanced

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

Re: How to set the default timezone for messages being sent?


From: Emanuel Berg
Subject: Re: How to set the default timezone for messages being sent?
Date: Mon, 08 Jan 2018 02:10:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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:

    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
}

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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