Subject: pkg/35250: p5-Date-Manip fails to obtain timezone
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <MarkoSchuetz@web.de>
List: pkgsrc-bugs
Date: 12/13/2006 20:25:01
>Number:         35250
>Category:       pkg
>Synopsis:       p5-Date-Manip fails to obtain timezone
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 13 20:25:00 +0000 2006
>Originator:     Marko Schütz
>Release:        NetBSD fjpad.usp.ac.fj 4.99.6 NetBSD 4.99.6 (FJPAD) #12: Tue Dec 12 17:25:27 FJT 2006  marko@fjpad.usp.ac.fj:/usr/nbtmp/bsdobj/sys/arch/i386/compile/FJPAD i386
>Organization:
individual
>Environment:
NetBSD fjpad.usp.ac.fj 4.99.6 NetBSD 4.99.6 (FJPAD) #12: Tue Dec 12 17:25:27 FJT 2006  marko@fjpad.usp.ac.fj:/usr/nbtmp/bsdobj/sys/arch/i386/compile/FJPAD i386
>Description:
Date::Manip fails to obtain the correct timezone.
>How-To-Repeat:
/etc/localtime is a link to /usr/share/zomeinfo/Pacific/Fiji and TZ is not set. Then e.g. 
fjpad% echo '(yahoo "CSCO")' | gnc-fq-helper

ERROR: Date::Manip unable to determine TimeZone.
 at /usr/pkg/lib/perl5/vendor_perl/5.8.0/Date/Manip.pm line 3635
        Date::Manip::Date_TimeZone called at /usr/pkg/lib/perl5/vendor_perl/5.8.0/Date/Manip.pm line 676
        Date::Manip::Date_Init() called at /usr/pkg/lib/perl5/vendor_perl/5.8.0/Date/Manip.pm line 799
        Date::Manip::ParseDateString('12/13/2006 3:00pm') called at /usr/pkg/bin/gnc-fq-helper line 217
        main::get_quote_time('CSCO', 'HASH(0x83fedd4)') called at /usr/pkg/bin/gnc-fq-helper line 247
        main::schemify_quote('CSCO', 'HASH(0x83fedd4)', 2) called at /usr/pkg/bin/gnc-fq-helper line 280
        main::schemify_quotes('ARRAY(0x83feb04)', 'HASH(0x83fedd4)') called at /usr/pkg/bin/gnc-fq-helper line 369

>Fix: