On Wed, Jul 09, 2014 at 09:35:59PM +0000, Grant Edwards wrote: > On 2014-07-09, Derek Martin <inva...@pizzashack.org> wrote: > > On Wed, Jul 09, 2014 at 06:33:40PM +0000, Grant Edwards wrote: > >> On 2014-07-09, Derek Martin <inva...@pizzashack.org> wrote: > >> > On Wed, Jul 09, 2014 at 02:48:07AM +0000, Dave Kuhlman wrote: > >> >> My email server is in a different timezone from where I am. > >> >> > >> >> How do I tell mutt to use my local timezone when sending an email? And, > >> >> how > >> >> do I tell mutt what my local timezone is? > >> > > >> > You don't... your system does that via its time configuration. > >> > >> You're assuming that the system's timezone and his local timezone are > >> the same. > > > > At no point in my post did I assume any such thing. > > The OP said he wanted mutt to use his local timezone.
To be precise, he asked, "HOW DO I TELL MUTT to use my local time zone when sending an email?" [emph. mine.] I quite correctly replied that you don't. Mutt does not provide a way to tell it what time zone to use; it relies on what the OS tells it the user is using, by whatever means the user configures that. What the OS tells it can not be overridden in any way except by making the OS tell it something else--i.e. by changing the system configuration. > You replied that the "system does that via its time configuration". > That can only be true if the user's local timezone is the same as > the system's timezone, right? Close, but no, that's not precisely correct: It can only be true if the user's local time zone is the same as the system's CONFIGURED time zone, irrespective of where the system actually is geographically located (which would be what "its time zone" implies), or what its DEFAULT is (a possible alternative interpretation of "its time zone"). You are conflating "system defaults" and "system configuration" as one. The latter is a superset of the former. Certainly, the system administrator provides a wide variety of system-wide defaults at system install time, and then generally any subsystem of the system which is meant to be user-configurable (like your time zone, your language configuration, your executable search path, etc.) is further configured via environment variables, e.g. TZ. The subsystems of the system which care about those things universally (barring bugs) check the value of those variables. Thus the values of such variables are part of the system configuration, in addition to any system-wide defaults provided by the administrator. And now for something completely different... -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
pgpuxCk4lB1eu.pgp
Description: PGP signature