On Wed Nov 19 15:38:07 2014, SREZIC wrote:
Show quoted text> On my machine (FreeBSD 9.2, various perls from 5.8.9 to 5.21.5) the
> test suite fails with the default timezone (which is Europe/Berlin).
> If TZ is set to Europe/London, then the test suite passes.
>
> The reports may be seen here:
>
http://matrix.cpantesters.org/?dist=Class-
> Date;os=freebsd;reports=1#sl=5,1 (currently only FAIL reports, the
> PASS reports will appear tomorrow or so).
This bug is still present when I try to install this module against perl-5.27.11 on FreeBSD-11.1.
#####
$ this_perl -Iblib/lib t/50_timezone.t
Cannot find the XS part of Class::Date,
using strftime, tzset and tzname from POSIX module.
1..11
ok 1
bless([102, 4, 4, 0, 1, 2, 6, 123, 1, 1020463262, "CET", 0, ""], "Class::Date")
ok 2 - date1
ok 3 - tz
ok 4 - tzdst
ok 5 - epoch
bless([102, 4, 3, 22, 1, 2, 5, 122, 0, 1020463262, "GMT"], "Class::Date")
ok 6 - date2
ok 7 - tz
not ok 8 - tzdst
# Failed test 'tzdst'
# at t/50_timezone.t line 28.
# got: 'UTC'
# expected: 'GMT'
ok 9 - epoch
ok 10 - epoch
ok 11 - gmdate
# Looks like you failed 1 test of 11.
#####
Thank you very much.
Jim Keenan