delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/11/07:05:31

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
Date: Tue, 11 Nov 2003 13:03:27 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <2912429468.20031111130327@familiehaase.de>
To: Kirill Yarosh <kirill AT mivzak DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: perl localtime returns gmttime
In-Reply-To: <bolti1$12v$1@sea.gmane.org>
References: <bolti1$12v$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0

Hello Kirill,

Sunday, November 9, 2003, 6:29:09 PM, you wrote:

> I have update perl to 5.8.2 .
> After that i did find symptomatic insane behaviour of "local" function.
> Now it returns GMT time.
> Does anybody unite with me ?

Yes, it is wrong here too.

> --------------------------------------------------------------------
> $perl -e 'use POSIX qw(strftime); $now_string = strftime ("%a %b %e 
> %H:%M:%S %Y", localtime); print $now_string . "\n";'
> Sun Nov  9 15:06:30 2003

> $ date -R
> Sun, 09 Nov 2003 17:06:33 +0200
> --------------------------------------------------------------------

Can someone with perl 5.8.2 on Linux / perl 5.8.2 on Windows (AS & MinGW)
try if it is wrong there too, please?


-- 
Best regards,
 Gerrit 


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019