Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 4858
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: steve [...] fisharerojo.org
Cc:
AdminCc:

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



Subject: t/date.t fails due to problems with Linux glibc setlocale
This isn't so much a bug as a problem with the supported locales in certain Linux flavors and a solution for these problems. Internally, Perl does a setlocale(LC_ALL, ""). This causes problems on Linux systems, specifically RedHat and Fedora, that have a default locale that is UTF-8, for example en_US.utf8. This problem shows up in test failures in Date::Calc and also in Template test t/date.t test #25. To solve this problem, set the LC_ALL environment variable to "C" or a non UTF-8 locale (en_US for example) before testing.