[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Timezone change in US
From: |
Eli Zaretskii |
Subject: |
Re: Timezone change in US |
Date: |
Tue, 13 Mar 2007 23:12:49 +0200 |
> From: James Cloos <cloos@jhcloos.com>
> Copyright: Copyright 2007 James Cloos
> Date: Tue, 13 Mar 2007 12:48:24 -0400
> Cc: help-gnu-emacs@gnu.org
>
>
> Probably a stupid question, but what happens if you set your TZ
> variable to just 'EST5EDT'? Or 'EST5EDT4,M3.2.0/2:00,M11.1.0/2:00'?
>
> 02:00 is the default for the time string, so this should be the same
> as what you had: 'EST5EDT4,M3.2.0,M11.1.0'. Does that work?
>
> The 4 after EDT is also superfluous. So each of these may be worth
> a try:
>
> EST5EDT,M3.2.0/2,M11.1.0/2
> EST5EDT,M3.2.0/2:00,M11.1.0/2:00
> EST5EDT,M3.2.0,M11.1.0
I don't think Windows time routines support the above syntax.
See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_crt__tzset.asp
Maybe the problem is precisely that tcsh sets TZ to this form, which
confuses Emacs on Windows. In that case, running Emacs from without
tcsh should solve the problem.
> I just tried your TZ setting on my linux box, and it did the right
> thing (matching the output of TZ=US/Eastern or TZ=America/New_York
> with a current zoneinfo database).
Note that this Posix syntax of TZ, and the zoneinfo database, are also
not supported by the Windows time routines.
> So this is a win32 or mingw32 specific bug.
Perhaps it is a w32 specific bug, but then why does it work for me?
- Timezone change in US, Chris McMahan, 2007/03/12
- Re: Timezone change in US, Maarten Bergvelt, 2007/03/12
- Re: Timezone change in US, Eli Zaretskii, 2007/03/12
- Message not available
- Re: Timezone change in US, Chris McMahan, 2007/03/13
- Message not available
- Re: Timezone change in US, Chris McMahan, 2007/03/14
- Re: Timezone change in US, Chris McMahan, 2007/03/14
- Re: Timezone change in US, Eli Zaretskii, 2007/03/14
- Message not available
- Re: Timezone change in US, Chris McMahan, 2007/03/15
- Re: Timezone change in US, Eli Zaretskii, 2007/03/15
- Message not available
- Re: Timezone change in US, Chris McMahan, 2007/03/16
- Re: Timezone change in US, Eli Zaretskii, 2007/03/16
- Re: Timezone change in US, Stefan Monnier, 2007/03/16