Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the DateManip CPAN distribution.

Report information
The Basics
Id: 5836
Status: resolved
Priority: 0/
Queue: DateManip

People
Owner: Nobody in particular
Requestors: jchassle [...] hexaflux.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 5.42a
Fixed in: (no value)

Attachments


Subject: unable to determine timezone on OPEN UNIX
Download (untitled) / with headers
text/plain 853b
Distrib name : DateManip-5.42a perl version : 5.8.2 and 5.6.1 Operating system : Open UNIX 8.0.0 i386 x86at Caldera UNIX_SVR5 Hello, Last week-end we had the change to summer time and the fonction Date_TimeZone() give this error message "ERROR: Date::Manip unable to determine TimeZone." This is because on Open UNIX 8 the TZ environnement variable is ":WET" and not "WET". The semicolons mean that the timezone is in a terminfo compiled file (otherwise there is a '/',the name is assumed to be a full pathname). The patch I made simply suppress the semicolons at the beginning of the name of the timezone but I don't know if it can cause trouble with other timezone names. I hadn't determined yet why the bug appear for the change to summer time, maybe OPEN8 re-compile terminfo files for time change so the tz name get the semicolons ?? enjoy !
Download patchOPEN8.diff
text/x-diff 30b
3462a3463 > $tz =~ s/^://;
From: "Jean Christian HASSLER" <jchassle [...] hexaflux.com>
To: <bug-DateManip [...] rt.cpan.org>
Subject: Re: [cpan #5836]
Date: Tue, 30 Mar 2004 12:12:15 +0200
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.7k
Oups !! I made an english error !! Please understand colon ":" each time I say semicolon !! Show quoted text
----- Original Message ----- From: "DateManip" <bug-DateManip@rt.cpan.org> To: <jchassle@hexaflux.com> Sent: Tuesday, March 30, 2004 11:37 AM Subject: [cpan #5836] AutoReply: unable to determine timezone on OPEN UNIX
> > Greetings, > This message has been automatically generated in response to your
bug report about DateManip, a summary of which appears below.
> > There is no need to reply to this message right now. Your bug in
DateManip has been assigned an ID of [cpan #5836]. Please include the string:
> > [cpan #5836] > > in the subject line of all future correspondence about this issue. To do
so,
> you may reply to this message. > > Thank you, > bug-DateManip@rt.cpan.org > > ------------------------------------------------------------------------- > Distrib name : DateManip-5.42a > perl version : 5.8.2 and 5.6.1 > Operating system : Open UNIX 8.0.0 i386 x86at Caldera UNIX_SVR5 > > Hello, > > Last week-end we had the change to summer time and the fonction
Date_TimeZone() give this error message "ERROR: Date::Manip unable to determine TimeZone."
> > This is because on Open UNIX 8 the TZ environnement variable is ":WET" and
not "WET".
> The semicolons mean that the timezone is in a terminfo compiled file
(otherwise there is a '/',the name is assumed to be a full pathname).
> > The patch I made simply suppress the semicolons at the beginning of the
name of the timezone but I don't know if it can cause trouble with other timezone names.
> > I hadn't determined yet why the bug appear for the change to summer time,
maybe OPEN8 re-compile terminfo files for time change so the tz name get the semicolons ??
> > enjoy !
Fixed in 6.08


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.