New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localtime returns gmtime instead of localtime #6956
Comments
From arjen.bax@freeler.nlThis is a bug report for perl from arjen.bax@freeler.nl, The following is correct: Using Cygwin Perl from package perl-5.8.0-5.tar.bz2: $ perl -v This is perl, v5.8.0 built for cygwin-multi-64int [snip] $ perl -wle 'print scalar localtime' [now uninstall perl v5.8.0, install perl v5.8.2 using the cygwin The following is NOT correct (does not take my timezone into account) Using Cygwin Perl from package perl-5.8.2-1.tar.bz2: $ perl -v This is perl, v5.8.2 built for cygwin-thread-multi-64int $ perl -wle 'print scalar localtime' (This should be Tue Dec 2 13:40:16 2003). Flags: Site configuration information for perl v5.8.2: Configured by Gerrit at Fri Nov 7 12:03:56 2003. Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Locally applied patches: @INC for perl v5.8.2: Environment for perl v5.8.2: PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/d/abaxprog/texmf/miktex/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/DMI/bin:/c/Program PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.0:/usr/local/lib:/home/a.bax/perllib -- Violence is the last refuge of the incompetent. - Isaac Asimov |
From @schwernOn Tue, Dec 02, 2003 at 12:51:10PM -0000, arjen.bax@freeler.nl (via RT) wrote:
Stupid question: Is your timezone set? In Cygwin? Are you *sure*? Is -- |
From arjen.bax@hetnet.nlA good day to you. Michael G Schwern via RT wrote:
According to my father, there are no stupid questions, only stupid My timezone is set in the windows control panel. This used to be perl -wle 'print scalar localtime' tests, was install the new Perl version. Before, localtime worked I expected the new Perl version to be compatible with the old. Before you ask: yes, I know how to set the TZ environment variable. ========================================================================
|
From @schwernOn Wed, Dec 03, 2003 at 10:43:41AM +0100, Arjen Bax wrote:
Thank you for answering my stupid question so thoroughly. -- |
From reden@cpan.orgSame issue occurs with ActivePerl *IF* the TZ enviornment variable is (This must be set before perl.exe starts, clearing it within the script Robert |
From @jkeenanOn Wed Dec 03 03:16:11 2003, arjen.bax@hetnet.nl wrote:
Is there anyone currently building Cygwin Perl who could review the Thank you very much. |
From @tonycozOn Sat, May 26, 2012 at 06:58:29PM -0700, James E Keenan via RT wrote:
Building blead: tony@phobos ~/dev/perl/git/perl tony@phobos ~/dev/perl/git/perl tony@phobos ~/dev/perl/git/perl tony@phobos ~/dev/perl/git/perl tony@phobos ~/dev/perl/git/perl This is perl 5, version 17, subversion 0 (v5.17.0-17-gf0ccce9) built for cygwin-thread-multi-64int Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License or the Complete documentation for Perl, including FAQ lists, should be found on So if I understand the problems described, it's fixed. Tony |
From @jkeenanOn Sat May 26 19:31:38 2012, tonyc wrote:
No one has disputed Tony's judgment in the year since the last post in Thank you very much. |
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#24582 (status was 'resolved')
Searchable as RT24582$
The text was updated successfully, but these errors were encountered: