Skip Menu |

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

Report information
The Basics
Id: 116151
Status: resolved
Priority: 0/
Queue: Time-Ago

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

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



Subject: Fails with non-Engish locale
With a German locale (e.g. LC_ALL=de_DE.UTF-8) the test suite fails: ... # Failed test 'in_words, 0 seconds' # at t/00_time_ago.t line 41. # got: 'vor weniger als einer Minute' # expected: 'less than a minute' ... Seen on freebsd & linux systems, all perl versions.
On Thu Jul 14 12:48:07 2016, SREZIC wrote: Show quoted text
> With a German locale (e.g. LC_ALL=de_DE.UTF-8) the test suite fails: > > ... > # Failed test 'in_words, 0 seconds' > # at t/00_time_ago.t line 41. > # got: 'vor weniger als einer Minute' > # expected: 'less than a minute' > ... > > Seen on freebsd & linux systems, all perl versions.
Thanks. The tests were assuming the english translation (doh). Changed tests to explicitly set locale. Need to add tests for specific languages.