This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problem with localtime from Cygwin's perl
- From: Andrew DeFaria <Andrew at DeFaria dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 18 Mar 2004 19:26:03 -0800
- Subject: Problem with localtime from Cygwin's perl
I'm observing the following:
C09-272-A:date
Thu Mar 18 19:22:53 PST 2004
C09-272-A:perl -e 'print scalar (localtime) . "\n"'
Fri Mar 19 03:22:58 2004
C09-272-A:ccperl -e 'print scalar (localtime) . "\n"'
Thu Mar 18 19:23:03 2004
C09-272-A:type -p perl
/bin/perl
C09-272-A:type -p ccperl
/dev/c/progra~1/rational/clearc~1/bin/ccperl
C09-272-A:uname -a
CYGWIN_NT-5.0 C09-272-A 1.5.7(0.109/3/2) 2004-01-30 19:32 i686 unknown
unknown Cygwin
Notice that when using Cygwin's perl I get a GMT time but when using
ccperl (A perl from Rational Clearcase based off of ActiveState) I get a
proper PST time. My question is why and what can I do to fix it.
--
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/