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) {