Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: TimeZoning oddities

by JPaul (Hermit)
on Nov 02, 2005 at 15:14 UTC ( [id://504952]=note: print w/replies, xml ) Need Help??


in reply to Re: TimeZoning oddities
in thread TimeZoning oddities

Nuts!

I saw that in one of the PODs I was reading through - but since all the examples I had found (including on PM) did not include it, I assumed that it was not really necessary. Doofus.

Thank you very much, this does the magic.

-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --

Replies are listed 'Best First'.
Re^3: TimeZoning oddities
by robin (Chaplain) on Nov 03, 2005 at 10:33 UTC

    At last I have found the definitive answer! The problem is with localtime rather than strftime.

    This problem happens only on Linux, and only with a threaded build of perl. There's some disgreement about whether the bug is in Linux or perl, but in either case a manual call to tzset is a good workaround.

    See the bug report and ensuing discussion here.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://504952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found