Skip Menu |

This queue is for tickets about the TimeDate CPAN distribution.

Report information
The Basics
Id: 131779
Status: new
Priority: 0/
Queue: TimeDate

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

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



Subject: Bug in Date::Language::Amharic & Others
Date::Language::Amharic has 2 bugs in it for initializing @Dsuf, @Dsuf = ("\x{129b}" x 31); # In the 'if' block @Dsuf = ("á<8A><9B>" x 31); # In the 'else' block The both create one entry in @Dsuf that's 31 chars long. Shouldn't they have been: @Dsuf = ("\x{129b}") x 32; @Dsuf = ("á<8A><9B>") x 32; So it would be 32 entries in the array? (0..31) Similar bugs appear in Date::Language::Tigrinya Date::Language::TigrinyaEritrean Date::Language::TigrinyaEthiopian Date::Language::Greek (my other ticket # 131778) Date::Language::Portuguese (Proposed by ticket # 94905)
Similar bug in Date::Language::Swedish Except @Dsuf = ('a' x 2, 'e' x 29); creates two elements in the array. Probably meant to do: @Dsuf = (('a')x3, ('e')x29); On Thu Feb 13 19:59:31 2020, CLEACH wrote: Show quoted text
> Date::Language::Amharic > has 2 bugs in it for initializing @Dsuf, > > @Dsuf = ("\x{129b}" x 31); # In the 'if' block > @Dsuf = ("á<8A><9B>" x 31); # In the 'else' block > > The both create one entry in @Dsuf that's 31 chars long. > > Shouldn't they have been: > > @Dsuf = ("\x{129b}") x 32; > @Dsuf = ("á<8A><9B>") x 32; > > So it would be 32 entries in the array? (0..31) > > Similar bugs appear in > Date::Language::Tigrinya > Date::Language::TigrinyaEritrean > Date::Language::TigrinyaEthiopian > Date::Language::Greek (my other ticket # 131778) > Date::Language::Portuguese (Proposed by ticket # 94905) > >