Skip Menu |
 

This queue is for tickets about the DateTimeX-Easy CPAN distribution.

Report information
The Basics
Id: 42118
Status: resolved
Priority: 0/
Queue: DateTimeX-Easy

People
Owner: rkrimen [...] cpan.org
Requestors: DPAVLIN [...] cpan.org
Cc:
AdminCc:

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

Attachments


Subject: t/03-parse.t wroks just for 2008 year
attached patch fix this problem (also reported by CPAN testers for installations in 2009)
Subject: DateTimeX-Easy-parse-2008-fix.diff
--- t/03-parse.t.orig 2008-09-22 21:07:02.000000000 +0000 +++ t/03-parse.t 2009-01-03 21:51:06.000000000 +0000 @@ -9,13 +9,15 @@ use DateTimeX::Easy; +my $yyy = (localtime(time))[5] + 1900; + for (split m/\n/, <<_END_) { 1994-06-16T07:29:35 @ -0600 | Wed, 16 Jun 94 07:29:35 CST 1994-10-13T10:13:13 @ -0700 | Thu, 13 Oct 94 10:13:13 -0700 1994-11-09T09:50:32 @ -0500 | Wed, 9 Nov 1994 09:50:32 -0500 (EST) -2008-12-21T17:05:00 | 21 dec 17:05 -2008-12-21T17:05:00 | 21-dec 17:05 -2008-12-21T17:05:00 | 21/dec 17:05 +$yyy-12-21T17:05:00 | 21 dec 17:05 +$yyy-12-21T17:05:00 | 21-dec 17:05 +$yyy-12-21T17:05:00 | 21/dec 17:05 1993-12-21T17:05:00 | 21/dec/93 17:05 1999-01-01T10:02:18 @ UTC | 1999 10:02:18 "GMT" 1994-11-16T22:28:20 @ -0800 | 16 Nov 94 22:28:20 PST
Thanks, I'll integrate this
0.085 is on CPAN with the fix, thanks for the report/patch


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.