Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: perl localtime returns gmttime Date: Sun, 09 Nov 2003 19:29:09 +0200 Lines: 15 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/