Skip Menu |

This queue is for tickets about the Time-Format CPAN distribution.

Report information
The Basics
Id: 111230
Status: new
Priority: 0/
Queue: Time-Format

Owner: Nobody in particular
Requestors: ntyni [...]

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

Subject: t/doc.t failure in non-English locales with Perl 5.22
Download (untitled) / with headers
text/plain 953b
t/doc.t started to fail in at least the fr_FR.UTF-8 locale with Perl 5.22: # Failed test 'POSIX 1' # at t/doc.t line 66. # got: 'POSIXish: mardi, d�cembre 12, 1995' # expected: 'POSIXish: mardi, décembre 12, 1995' # Looks like you failed 1 test of 26. The difference is that 'got' has an é in latin1 encoding while 'expected' has it in utf8. This seems to be because of a bug fix in POSIX::strftime() in Perl 5.21.1, which made it set the UTF8 flag in UTF-8 locales when the return value has non-ASCII characters. I18N::Langinfo has a similar bug, so the results are now no longer equal. I've filed about this, so it might get fixed in a future Perl release. This is also and we'll be working around it by setting LC_ALL=C when running the test suite.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to