Skip Menu |

This queue is for tickets about the Gedcom-Date CPAN distribution.

Report information
The Basics
Id: 105801
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Gedcom-Date

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: (no value)



Subject: Gives deprecated message
Nigels-MBP:~ njh$ cat t #!/usr/bin/env perl use Gedcom::Date; print Gedcom::Date->parse('1 JUL 2003')->as_text(), "\n"; Nigels-MBP:~ njh$ ./t The long_date_format method in DateTime::Locale::Base has been deprecated. Please see the DateTime::Locale distribution's Changes file for details at /Users/njh/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/Gedcom/Date/Simple.pm line 181. on 1 July 2003
On 2015-07-10 18:10:11, NHORNE wrote: Show quoted text
> Nigels-MBP:~ njh$ cat t > #!/usr/bin/env perl > > use Gedcom::Date; > > print Gedcom::Date->parse('1 JUL 2003')->as_text(), "\n"; > Nigels-MBP:~ njh$ ./t > The long_date_format method in DateTime::Locale::Base has been > deprecated. Please see the DateTime::Locale distribution's Changes > file for details at /Users/njh/perl5/perlbrew/perls/perl- > 5.22.0/lib/site_perl/5.22.0/Gedcom/Date/Simple.pm line 181. > on 1 July 2003
This method was removed in the latest DateTime::Locale versions. Now the test suite fails: Can't locate object method "long_date_format" via package "DateTime::Locale::FromData" at /tmpfs/.cpan-build/2015111706/Gedcom-Date-0.06-WRR413/blib/lib/Gedcom/Date/Simple.pm line 181, <DATA> line 57.
Subject: Re: [rt.cpan.org #105801] Gives deprecated message
Date: Tue, 17 Nov 2015 19:54:53 +1100
To: bug-Gedcom-Date [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Slaven On 17/11/15 19:21, Slaven_Rezic via RT wrote: Show quoted text
> Queue: Gedcom-Date > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105801 > > > On 2015-07-10 18:10:11, NHORNE wrote:
>> Nigels-MBP:~ njh$ cat t >> #!/usr/bin/env perl >> >> use Gedcom::Date; >> >> print Gedcom::Date->parse('1 JUL 2003')->as_text(), "\n"; >> Nigels-MBP:~ njh$ ./t >> The long_date_format method in DateTime::Locale::Base has been >> deprecated. Please see the DateTime::Locale distribution's Changes >> file for details at /Users/njh/perl5/perlbrew/perls/perl- >> 5.22.0/lib/site_perl/5.22.0/Gedcom/Date/Simple.pm line 181. >> on 1 July 2003
> > This method was removed in the latest DateTime::Locale versions. Now the test suite fails: > > Can't locate object method "long_date_format" via package "DateTime::Locale::FromData" at /tmpfs/.cpan-build/2015111706/Gedcom-Date-0.06-WRR413/blib/lib/Gedcom/Date/Simple.pm line 181, <DATA> line 57.
Yes. That's been happening for several months. I looked into it but could not see what to do about it :-(. Gedcom::Date offers a number of features which my new modules (Genealogy::Gedcom and Genealogy::Gedcom::Date) will don't offer, and probably never will. So, stalemate. -- Ron Savage - savage.net.au
Subject: Re: [rt.cpan.org #105801] Gives deprecated message
Date: Wed, 18 Nov 2015 09:46:39 +1100
To: bug-Gedcom-Date [...] rt.cpan.org, Nigel Horne <njh [...] bandsman.co.uk>
From: Ron Savage <ron [...] savage.net.au>
Hi See below. On 17/11/15 19:55, ron@savage.net.au via RT wrote: [snip] Show quoted text
>> This method was removed in the latest DateTime::Locale versions. Now the test suite fails: >> >> Can't locate object method "long_date_format" via package "DateTime::Locale::FromData" at /tmpfs/.cpan-build/2015111706/Gedcom-Date-0.06-WRR413/blib/lib/Gedcom/Date/Simple.pm line 181, <DATA> line 57.
> > Yes. That's been happening for several months. I looked into it but > could not see what to do about it :-(. > > Gedcom::Date offers a number of features which my new modules > (Genealogy::Gedcom and Genealogy::Gedcom::Date) will don't offer, and > probably never will. So, stalemate.
Firstly, the above 'will don't offer' should read 'don't offer'. I'm reluctant, but I suppose I could release a new module, Genealogy::Gedcom::Date::Utils, to cover such features. I'll think about it. -- Ron Savage - savage.net.au
Fixed in V 0.09 @ 2015-11-26.