This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
perl localtime returns gmttime
- From: Kirill Yarosh <kirill at mivzak dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 09 Nov 2003 19:29:09 +0200
- Subject: perl localtime returns gmttime
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/