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: | Kirill Yarosh <kirill AT mivzak DOT com> |
Subject: | perl localtime returns gmttime |
Date: | Sun, 09 Nov 2003 19:29:09 +0200 |
Lines: | 15 |
Message-ID: | <bolti1$12v$1@sea.gmane.org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 MultiZilla/1.5.0.3l |
X-Accept-Language: | en-us, en |
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 ? -------------------------------------------------------------------- $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 -------------------------------------------------------------------- Kirill. -- 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 |