|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: perl 5.8 shows wrong timestamp on cygwinby xorl (Deacon) |
| on Apr 21, 2004 at 11:53 UTC ( [id://347038]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I think the problem is that under cygwin localtime returns GMTime. There's a solution here: http://www.mail-archive.com/cygwin@cygwin.com/msg37313.html which says "use POSIX 'tzset'; tzset()" before calling localtime. I haven't tested it. So use at your own risk. -XorL Update: just fixed a typo.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||