delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Christian Weinberger <christian DOT weinberger AT directbox DOT com> |
Subject: | Re: perl localtime returns gmttime |
Date: | Fri, 21 Nov 2003 14:14:56 +0000 (UTC) |
Lines: | 19 |
Message-ID: | <Xns943A9B1D65783christianweinberger@80.91.224.252> |
References: | <bolti1$12v$1 AT sea DOT gmane DOT org> |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
User-Agent: | Xnews/5.04.25 |
Kirill Yarosh <kirill AT mivzak DOT com> wrote in news:bolti1$12v$1 AT sea DOT gmane DOT org: > I have update perl to 5.8.2 . > After that i did find symptomatic insane behaviour of "local" function. > Now it returns GMT time. > > Kirill. > Same problem with me. Only way to solve this was to go back to 5.6. Based on the other postings I believe it is a Cygwin specific issue. perl -e 'use POSIX; print strftime("%H:%M:%S", localtime) . "\n";' This always returns GMT time with 5.8, but returns local time with 5.6. Please keep 5.6 available as long as this has not been fixed. Christian -- 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 |