On Thursday, September 4, 2003, at 12:53 PM, Dave Rolsky wrote:

It's probably that simple. Simply setting the TZ env var probably won't
do much. An app has to call POSIX::tzset() for that take effect.

I find that for most date and time handling I do, just setting $ENV{TZ} does the trick -- except perhaps on Debian. Are you saying that if I want the setting of TZ to portably affect, e.g., localtime, that I need to always POSIX::tzset() after I do it? Seems a waste to load all of POSIX.pm just for that...


Cheers,

David

--
David Wheeler                                     AIM: dwTheory
[EMAIL PROTECTED]                              ICQ: 15726394
http://www.kineticode.com/                     Yahoo!: dew7e
                                               Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]



Reply via email to