Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Format-Strptime CPAN distribution.

Report information
The Basics
Id: 29330
Status: resolved
Priority: 0/
Queue: DateTime-Format-Strptime

People
Owner: Nobody in particular
Requestors: hartforda [...] gmail.com
Cc:
AdminCc:

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



Subject: 004_locale_defaults test failing
The 004_locale_defaults.t failed during make test. This is also happening for the CPAN::Reporter tests like this link: http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg623300.html. Anyway, I found that I got the same error as reported at the url above and it had to do with the French locale dates on lines 31-37. Disabling these made the tests pass. Hope this helps.
Strptime started to fail on 2007-09-11 after DateTime::Locale 0.35 was released. I installed DROLSKY/DateTime-Locale-0.34.tar.gz and tested again and voila!, all tests pass. I'll report it on the DateTime::Locale queue. Thanks,
On Sun Sep 16 05:51:18 2007, ANDK wrote: Show quoted text
> Strptime started to fail on 2007-09-11 after DateTime::Locale 0.35 was > released. I installed DROLSKY/DateTime-Locale-0.34.tar.gz and tested > again and voila!, all tests pass. > > I'll report it on the DateTime::Locale queue.
This isn't a bug with DT::Locale. The locale data changed, and unfortunately this broke some tests, but it's not a bug in DT::Locale.
From: SMPETERS [...] cpan.org
On Sun Sep 16 10:28:10 2007, DROLSKY wrote: Show quoted text
> On Sun Sep 16 05:51:18 2007, ANDK wrote:
> > Strptime started to fail on 2007-09-11 after DateTime::Locale 0.35 was > > released. I installed DROLSKY/DateTime-Locale-0.34.tar.gz and tested > > again and voila!, all tests pass. > > > > I'll report it on the DateTime::Locale queue.
> > This isn't a bug with DT::Locale. The locale data changed, and > unfortunately this broke some tests, but it's not a bug in DT::Locale.
The following patch gets the test working again. --- t/004_locale_defaults.t 2004-08-17 21:15:01.000000000 -0500 +++ t/004_locale_defaults.t.new 2007-09-17 07:53:50.000000000 -0500 @@ -29,9 +29,9 @@ ['en_GB', '%c', '31 Dec 1998 12:34:56'], # French #);my @tests = ( - ['fr', '%x', '31 déc. 98'], + ['fr', '%x', '31 déc 1998'], ['fr', '%X', '12:34:56'], - ['fr', '%c', '31 déc. 98 12:34:56'], + ['fr', '%c', '31 déc 1998 12:34:56'], ); foreach (@tests) {
From: RICKM [...] cpan.org
Test have been updated so they don't fail with the new version of Locale. Installing this module now requires the latest version of Locale. If you don't want the latest Locale, then you don't want the latest Strptime :-D Cheers! Rick Measham
Test have been updated so they don't fail with the new version of Locale. Installing this module now requires the latest version of Locale. If you don't want the latest Locale, then you don't want the latest Strptime :-D Cheers! Rick Measham (Ergh, this RT annoys me .. only after I posted this as a comment did I see/get the option to 'Resolve' the ticket .. why can't we specify our own issue tracker in the META.yml?)