| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 17 May 2006 07:54:39 -0400 |
| From: | Jason Tishler <jason AT tishler DOT net> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Python 2.4.1-1 time.altzone does not include DST offset |
| Message-ID: | <20060517115439.GD4076@tishler.net> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <44671C44 DOT 7050309 AT t-online DOT de> <4468CADE DOT 7090407 AT t-online DOT de> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <4468CADE.7090407@t-online.de> |
| User-Agent: | Mutt/1.4.1i |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Christian,
On Mon, May 15, 2006 at 08:39:26PM +0200, Christian Franke wrote:
> >Python's time.altzone is equal to time.timezone, it should be
> >time.timezone-3600 (for CEST)
> >
> >$ python -c 'import time; time.tzset(); print time.ctime(), \
> > time.daylight, time.timezone, time.altzone, time.tzname'
> >Sun May 14 13:46:55 2006 1 -3600 -3600 (' ', ' ')
>
> On Cygwin, time.altzone is always set equal to time.timezone.
>
> The attached patch should fix this for most timezones.
Sorry, but I'm timezone challenged. So, I recommend submitting your
patch to http://sourceforge.net/tracker/?group_id=5470&atid=305470 for
consideration.
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |