Skip Menu |
 

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

Report information
The Basics
Id: 340
Status: new
Priority: 0/
Queue: Date-Simple

People
Owner: Nobody in particular
Requestors: arnaud [...] underlands.org
Cc:
AdminCc:

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



Date: Mon, 11 Mar 2002 11:28:38 +0100
From: ASSAD Arnaud <arnaud [...] underlands.org>
Subject: FAIL Date-Simple-1.03 i386-linux 2.4.8-11mdkenterprise
To: cpan-testers [...] perl.org
Cc: bug-Date-Simple [...] rt.cpan.org
Download (untitled) / with headers
text/plain 2.8k
This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/ Please cc any replies to cpan-testers@perl.org to keep other test volunteers informed and to prevent any duplicate effort. -- PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 test.pl 1..55 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 AA(17 jan 1972) AA(17 Jan 1972) not ok 54 # Test 54 got: '17 jan 1972' (test.pl at line 100) # Expected: '17 Jan 1972' ok 55 For some reasons It took me a long time to see the Upper case difference !! Now for the informational part : I'm running a box with french settings... -- Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.8-11mdkenterprise, archname=i386-linux uname='linux no.mandrakesoft.com 2.4.8-11mdkenterprise #1 smp wed aug 22 16:05:18 cest 2001 i686 unknown ' config_args='-des -Darchname=i386-linux -Dd_dosuid -Ud_csh -Duseshrplib -Doptimize=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -Dprefix=/usr -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Uuselargefiles -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/lib/perl5/man/man3' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing', optimize='-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce', cppflags='-fno-strict-aliasing' ccversion='', gccversion='2.96 20000731 (Mandrake Linux 8.1 2.96-0.62mdk)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.6.1/i386-linux/CORE' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Date: Mon, 11 Mar 2002 23:15:01 -0500
From: John Tobey <jtobey [...] john-edwin-tobey.org>
To: ASSAD Arnaud via RT <bug-Date-Simple [...] rt.cpan.org>
Cc: "'AdminCc of cpan Ticket #340'": ;
Subject: Re: [cpan #340] FAIL Date-Simple-1.03 i386-linux 2.4.8-11mdkenterprise
On Mon, Mar 11, 2002 at 05:28:56AM -0500, ASSAD Arnaud via RT wrote: Show quoted text
> AA(17 jan 1972) > AA(17 Jan 1972) > not ok 54 > # Test 54 got: '17 jan 1972' (test.pl at line 100) > # Expected: '17 Jan 1972' > ok 55 > > For some reasons It took me a long time to see the Upper case difference !! > Now for the informational part : I'm running a box with french settings...
Yup, French settings would do that, I guess. Here's a patch against the latest (2.02) version. Thanks for the report. -John Index: t/date.t =================================================================== RCS file: /home/jtobey/cvsroot/Date-Simple/t/date.t,v retrieving revision 1.5 diff -u -r1.5 date.t --- t/date.t 2001/10/03 03:08:32 1.5 +++ t/date.t 2002/03/12 04:07:40 @@ -93,7 +93,8 @@ ok($d->day, 17); ok($d->format, '1972-01-17'); -ok($d->format('%d %b %Y'), '17 Jan 1972'); +# Don't assume much about how this locale spells 'Jan'. +ok($d->format('%d %b %Y') =~ m/17 \D+ 1972/); ok($d->format('Foo'), 'Foo'); use Date::Simple ('date', 'd8'); -- John Tobey <jtobey@john-edwin-tobey.org> \____^-^


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.