Subject: | Parser breaks on 'ga' locale |
I was CPAN testing this module and discovered a curious problem. When you run this on Windows with Perl 5.6.1, for all the non 'en' locales, I get failures. Putting diagnostics on, the first failure for 'ga' had the following first few lines:
Entered = 2005-12-01 Déardaoin
Parser = ($year, $month, $day, $dow_name) = $time_string =~ /(\d{4})\-([\d ]?\d)\-([\d ]?\d) (Dé\ Domhnaigh|Dé\ Sathairn|Dé\ Céadaoin|Déardaoin|Dé\ hAoine|Dé\ Luain|Dé\ Máirt|Máirt|Céad|Déar|\w+)/
dow_name = Déardaoin
Note how the dow_name has changed from the originally entered string. This happens for 'pt' and 'de' as well.
This is currently causing a block on testing for a number of distributions which depend on this distribution :(
If you need more information, please let me know.
Show quoted text
>perl -v
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Binary build 638 provided by ActiveState Corp. http://www.ActiveState.com
ActiveState is a division of Sophos.
Built Apr 13 2004 19:24:21
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
Show quoted text>uname -a
MINGW32_NT-5.0 MACHINE 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown