This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: perl localtime returns gmttime
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: Kirill Yarosh <kirill at mivzak dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 11 Nov 2003 13:03:27 +0100
- Subject: Re: perl localtime returns gmttime
- Organization: Esse keine toten Tiere
- References: <bolti1$12v$1@sea.gmane.org>
- Reply-to: "Gerrit P. Haase" <gp at familiehaase dot de>
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/