On 6/18/01 4:09 PM, "ehughes" <[EMAIL PROTECTED]> wrote:
> I am trying to use Date::Manip. While a syntax check comes out ok, I get
> this message when I run it:
> 
> # ERROR: Date::Manip unable to determine TimeZone.
> #     Date::Manip::Date_TimeZone called
> 
> Any thoughts around this problem? I am using MacPerl 5.20r4. I used Chris's
> cpan-mac to untar and install the routine.

I seem to recall that Date::Manip comes with the TimeZone unset. So open up
Manip.pm and look for:

# Local timezone
$Cnf{"TZ"}="";

And change it to:

# Local timezone
$Cnf{"TZ"}="GMT";


-- 
Todd Richmond                    http://cellwall.stanford.edu/todd
Carnegie Institution             email: [EMAIL PROTECTED]
Department of Plant Biology      fax: 1-650-325-6857
260 Panama Street                phone: 1-650-325-1521 x431
Stanford, CA 94305

Reply via email to