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: 36672
Status: resolved
Priority: 0/
Queue: DateTime-Format-Strptime

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

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



Subject: Started failing mid May
Cpan testers statistics in this page shows that some day in May the module broke pretty much for everybody: http://cpantesters.perl.org/author/RICKM.html Strangely enough the module page at cpantesters does not cover 1.0702 but this is a different bug for somebody else. I'm happy I found out that the author page has the list of all PASSes and FAILs (at least at the time of this writing). The yml file is complete BTW, Thanks,
RT-Send-CC: DROLSKY [...] cpan.org
Closer inspection of the testers reports reveals that the DateTime and DateTime-Locale releases around May 18/19 contribute to the case. CCing Dave. Dave, can you shed some light on the issue? I just downgraded to DateTime-0.42 and DateTime-Locale-0.35 and then all DT:F:Strptime tests passed again.
Subject: Re: [rt.cpan.org #36672] Started failing mid May
Date: Mon, 23 Jun 2008 19:17:36 -0500 (CDT)
To: Andreas Koenig via RT <bug-DateTime-Format-Strptime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Mon, 23 Jun 2008, Andreas Koenig via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=36672 > > > Closer inspection of the testers reports reveals that the DateTime and > DateTime-Locale releases around May 18/19 contribute to the case. > > CCing Dave. Dave, can you shed some light on the issue?
This is a known problem with a simple fix. Rick, _please_ make a new release to fix this, it's breaking a fair number of modules which depend on yours. In the future, it'd be much better to provide your own custom locale for testing rather than relying on DT::Locale, which can and will change over time. -dave /*========================== VegGuide.Org Your guide to all that's veg ==========================*/
On Mon Jun 23 20:22:40 2008, autarch@urth.org wrote: Show quoted text
> On Mon, 23 Jun 2008, Andreas Koenig via RT wrote: >
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=36672 > > > > > Closer inspection of the testers reports reveals that the DateTime and > > DateTime-Locale releases around May 18/19 contribute to the case. > > > > CCing Dave. Dave, can you shed some light on the issue?
> > This is a known problem with a simple fix. Rick, _please_ make a new > release to fix this, it's breaking a fair number of modules which depend > on yours. > > In the future, it'd be much better to provide your own custom locale for > testing rather than relying on DT::Locale, which can and will change over > time. > > > -dave > > /*========================== > VegGuide.Org > Your guide to all that's veg > ==========================*/
For those following along, the patch below gets the tests passing again. Steve Peters steve@fisharerojo.org --- t/004_locale_defaults.t.old 2008-07-02 21:56:21.000000000 -0500 +++ t/004_locale_defaults.t 2008-07-02 21:55:28.000000000 -0500 @@ -29,9 +29,9 @@ ['en_GB', '%c', '31 Dec 1998 12:34:56'], # French #);my @tests = ( - ['fr', '%x', '31 déc 1998'], + ['fr', '%x', '31 déc. 1998'], ['fr', '%X', '12:34:56'], - ['fr', '%c', '31 déc 1998 12:34:56'], + ['fr', '%c', '31 déc. 1998 12:34:56'], ); foreach (@tests) {
Would also be nice to apply some patches (such 23768) which also cause the tests to fail. Many of these patches are quite old - does this module need a new maintainer? 23768 is the addition of a single 'g' character: that shouldn't be to hard to make a new minor release around.
This was fixed in 1.0800. Sorry I've left tickets open folks :-D In future, please log bugs in the google-code project: http://code.google.com/p/datetime-format-strptime/