This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl localtime returns gmttime


Kirill Yarosh <kirill@mivzak.com> wrote in bolti1$12v$1@sea.gmane.org:">news:bolti1$12v$1@sea.gmane.org:

> I have update perl to 5.8.2 .
> After that i did find symptomatic insane behaviour of "local" function.
> Now it returns GMT time.
> 
> Kirill.
> 

Same problem with me. Only way to solve this was to go back to 5.6.
Based on the other postings I believe it is a Cygwin specific issue.

perl -e 'use POSIX; print strftime("%H:%M:%S", localtime) . "\n";'

This always returns GMT time with 5.8, but returns local time with 5.6.

Please keep 5.6 available as long as this has not been fixed.

Christian


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]